Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
RedundancyMessageRequestChannelDownload.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_COMMS_REDUNDANCY_MESSAGES_REDUNDANCYMESSAGEREQUESTCHANNELDOWNLOAD_HPP_
2#define IV_SRC_COMMS_REDUNDANCY_MESSAGES_REDUNDANCYMESSAGEREQUESTCHANNELDOWNLOAD_HPP_
3
6
8{
10{
11public:
14 RedundancyMessageRequestChannelDownload(std::shared_ptr<iv::channels::AbstractChannel> channel,
15 iv::types::stationId stationId)
17 stationInChargeOfDownload(stationId) {};
19
21 {
22 stationInChargeOfDownload = stationId;
23 }
24
29
30 void serializeSpecific(std::shared_ptr<iv::streams::OutputStreamMemory> &stream) const override;
31
32 void deserializeSpecific(std::shared_ptr<iv::streams::InputStreamMemory> &stream) override;
33
35 const std::shared_ptr<RedundancyMessageRequestChannelDownload> &message,
36 const std::weak_ptr<iv::diamar::AppFailuresLoggerManager> &appFailuresLoggerManager,
37 iv::types::networkId networkId);
38
39private:
41};
42}// namespace iv::comms::redundancy
43
44#endif//IV_SRC_COMMS_REDUNDANCY_MESSAGES_REDUNDANCYMESSAGEREQUESTCHANNELDOWNLOAD_HPP_
Definition RedundancyMessageChannelDownloaded.hpp:12
Definition RedundancyMessageRequestChannelDownload.hpp:10
RedundancyMessageRequestChannelDownload(std::shared_ptr< iv::channels::AbstractChannel > channel, iv::types::stationId stationId)
Definition RedundancyMessageRequestChannelDownload.hpp:14
void serializeSpecific(std::shared_ptr< iv::streams::OutputStreamMemory > &stream) const override
Definition RedundancyMessageRequestChannelDownload.cpp:15
void setStationInChargeOfDownload(const iv::types::stationId &stationId)
Definition RedundancyMessageRequestChannelDownload.hpp:20
static void processRedundancyMessageRequestDownload(const std::shared_ptr< RedundancyMessageRequestChannelDownload > &message, const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > &appFailuresLoggerManager, iv::types::networkId networkId)
Definition RedundancyMessageRequestChannelDownload.cpp:29
iv::types::stationId getStationInChargeOfDownload() const
Definition RedundancyMessageRequestChannelDownload.hpp:25
RedundancyMessageRequestChannelDownload()
Definition RedundancyMessageRequestChannelDownload.hpp:12
void deserializeSpecific(std::shared_ptr< iv::streams::InputStreamMemory > &stream) override
Definition RedundancyMessageRequestChannelDownload.cpp:22
iv::types::stationId stationInChargeOfDownload
Definition RedundancyMessageRequestChannelDownload.hpp:40
Definition enums.hpp:7
eRedundancyMessageType
Definition enums.hpp:10
std::string stationId
Definition types.hpp:75
std::string networkId
Definition types.hpp:43