6#ifndef IV_SRC_COMMS_WATCHCALLNT_WATCHCALLNTCOMMUNICATIONCONTROLLER_HPP_
7#define IV_SRC_COMMS_WATCHCALLNT_WATCHCALLNTCOMMUNICATIONCONTROLLER_HPP_
12 public std::enable_shared_from_this<WatchcallNTCommunicationController>
19 const std::shared_ptr<iv::model::comms::NetworkData> &networkData);
36 bool frame()
override;
41 void addChannel(
const std::shared_ptr<iv::channels::AbstractChannel> &
channel)
override;
48 std::map<iv::types::repeaterId, std::pair<iv::types::ipAddress, iv::types::ipPort>>
m_repeaterAddresses;
Definition ICommunicationController.hpp:23
Definition WatchcallNTCommunicationController.hpp:13
~WatchcallNTCommunicationController() override=default
bool sendFrame()
Definition WatchcallNTCommunicationController.cpp:187
WatchcallNTCommunicationController & operator=(const WatchcallNTCommunicationController &other)=delete
bool receiveFrame()
Definition WatchcallNTCommunicationController.cpp:234
iv::types::timestamp m_lastReceivedMessageTimestamp
Definition WatchcallNTCommunicationController.hpp:43
WatchcallNTCommunicationController(const WatchcallNTCommunicationController &other)=delete
void initialize() override
Definition WatchcallNTCommunicationController.cpp:74
std::map< iv::types::repeaterId, std::pair< iv::types::ipAddress, iv::types::ipPort > > m_repeaterAddresses
Definition WatchcallNTCommunicationController.hpp:48
bool frame() override
Definition WatchcallNTCommunicationController.cpp:126
iv::comms::eResponse sendWatchcallNTMessage(const std::shared_ptr< iv::comms::watchcallNT::AbstractWatchcallNTMessage > &message, iv::types::repeaterId destination) const
Definition WatchcallNTCommunicationController.cpp:141
WatchcallNTCommunicationController(WatchcallNTCommunicationController &&other)=delete
WatchcallNTCommunicationController()=delete
WatchcallNTCommunicationController & operator=(WatchcallNTCommunicationController &&other)=delete
std::weak_ptr< iv::alarms::WatchcallManager > m_watchcallManager
Definition WatchcallNTCommunicationController.hpp:49
iv::types::repeaterId m_repeaterId
Definition WatchcallNTCommunicationController.hpp:46
iv::comms::eResponse sendWatchcallNTBroadcast(const std::shared_ptr< iv::comms::watchcallNT::AbstractWatchcallNTMessage > &message) const
Definition WatchcallNTCommunicationController.cpp:169
void addChannel(const std::shared_ptr< iv::channels::AbstractChannel > &channel) override
Definition WatchcallNTCommunicationController.cpp:137
iv::types::timestamp m_startTime
Definition WatchcallNTCommunicationController.hpp:44
Definition WatchcallNTCommunicationController.cpp:12
eResponse
Definition enums.hpp:285
uint64_t timestamp
Definition types.hpp:21
std::string repeaterId
Definition types.hpp:79