Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
WatchcallNTMessageChannel.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_COMMS_WATCHCALLNT_MESSAGES_WATCHCALLNTMESSAGECHANNEL_HPP_
2#define IV_SRC_COMMS_WATCHCALLNT_MESSAGES_WATCHCALLNTMESSAGECHANNEL_HPP_
6{
8{
9
15
19 ~WatchcallNTMessageChannel() override = default;
20
21 void serializeSpecific(std::shared_ptr<iv::streams::OutputStreamMemory> &stream) const override;
22 void deserializeSpecific(std::shared_ptr<iv::streams::InputStreamMemory> &stream) override;
23
24 static bool processChannelMessage(
25 const std::shared_ptr<WatchcallNTMessageChannel> &message,
26 const std::map<iv::types::channelId, std::shared_ptr<iv::channels::AbstractChannel>> &channels,
27 const std::weak_ptr<iv::diamar::AppFailuresLoggerManager> &appFailuresLoggerManager,
28 const iv::types::networkId &networkId);
29};
30}// namespace iv::comms::watchcallNT
31
32#endif//IV_SRC_COMMS_WATCHCALLNT_MESSAGES_WATCHCALLNTMESSAGECHANNEL_HPP_
Definition enums.hpp:5
eWatchcallNTMessageType
Definition enums.hpp:7
uint16_t unitId
Definition types.hpp:77
std::string networkId
Definition types.hpp:43
std::string channelId
Definition types.hpp:66
Definition structs.hpp:16
Definition structs.hpp:665
Definition AbstractWatchcallNTMessage.hpp:15
Definition WatchcallNTMessageChannel.hpp:8
void deserializeSpecific(std::shared_ptr< iv::streams::InputStreamMemory > &stream) override
Definition WatchcallNTMessageChannel.cpp:91
iv::types::unitId m_unit
Definition WatchcallNTMessageChannel.hpp:11
iv::types::networkId m_network
Definition WatchcallNTMessageChannel.hpp:10
void serializeSpecific(std::shared_ptr< iv::streams::OutputStreamMemory > &stream) const override
Definition WatchcallNTMessageChannel.cpp:76
iv::types::channelId m_channel
Definition WatchcallNTMessageChannel.hpp:12
static bool processChannelMessage(const std::shared_ptr< WatchcallNTMessageChannel > &message, const std::map< iv::types::channelId, std::shared_ptr< iv::channels::AbstractChannel > > &channels, const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > &appFailuresLoggerManager, const iv::types::networkId &networkId)
Definition WatchcallNTMessageChannel.cpp:6
iv::channels::Value m_value
Definition WatchcallNTMessageChannel.hpp:13
WatchcallNTMessageChannel()
Definition WatchcallNTMessageChannel.hpp:16
iv::alarms::Alarm m_alarm
Definition WatchcallNTMessageChannel.hpp:14