Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <IPCommunicationDriver.hpp>
Public Member Functions | |
IPCommunicationDriver ()=delete | |
IPCommunicationDriver (const iv::model::comms::net::eIpProtocolLayer &protocolLayer, const iv::comms::ip::eIpNetworkRole &networkRole, const std::set< iv::types::ipAddress > &validIPs) | |
~IPCommunicationDriver () override | |
void | configure (const iv::model::comms::NetworkData &commConfig) override |
iv::comms::eResponse | init () override |
iv::comms::eResponse | end () override |
iv::comms::eResponse | reconnect () override |
iv::comms::eResponse | start () override |
iv::comms::eResponse | stop () override |
iv::comms::eResponse | receive (std::vector< std::byte > &buffer, iv::types::ipAddress *ip, iv::types::ipPort *port) |
iv::comms::eResponse | send (const std::vector< std::byte > &data, const iv::types::ipAddress &ip, iv::types::ipPort port) |
bool | isOnline () override |
Public Attributes | |
std::set< std::string > | m_validIPs |
iv::types::ipAddress | m_ip {} |
iv::types::ipPort | m_port {0} |
Protected Attributes | |
iv::eState | m_state {iv::eState::Uninitialized} |
bool | m_isOnline {false} |
iv::types::timestamp | m_lastTimeReconnected {0} |
Private Attributes | |
iv::types::timestamp | m_lastTimePacketReceived {0} |
uint64_t | m_readingRetriesWithoutData {0} |
iv::model::comms::net::eIpProtocolLayer | m_protocolLayer |
iv::comms::ip::eIpNetworkRole | m_networkRole |
std::mutex | m_driverMutex |
iv::comms::ip::ITransportProtocol * | m_socketOpt |
|
delete |
iv::comms::ip::IPCommunicationDriver::IPCommunicationDriver | ( | const iv::model::comms::net::eIpProtocolLayer & | protocolLayer, |
const iv::comms::ip::eIpNetworkRole & | networkRole, | ||
const std::set< iv::types::ipAddress > & | validIPs ) |
|
override |
|
overridevirtual |
Implements iv::comms::ICommunicationDriver.
|
overridevirtual |
Implements iv::comms::ICommunicationDriver.
|
overridevirtual |
Implements iv::comms::ICommunicationDriver.
|
overridevirtual |
Implements iv::comms::ICommunicationDriver.
|
nodiscard |
|
overridevirtual |
Implements iv::comms::ICommunicationDriver.
iv::comms::eResponse iv::comms::ip::IPCommunicationDriver::send | ( | const std::vector< std::byte > & | data, |
const iv::types::ipAddress & | ip, | ||
iv::types::ipPort | port ) |
|
overridevirtual |
Implements iv::comms::ICommunicationDriver.
|
overridevirtual |
Implements iv::comms::ICommunicationDriver.
|
private |
iv::types::ipAddress iv::comms::ip::IPCommunicationDriver::m_ip {} |
|
protectedinherited |
|
private |
|
protectedinherited |
|
private |
iv::types::ipPort iv::comms::ip::IPCommunicationDriver::m_port {0} |
|
private |
|
private |
|
private |
|
protectedinherited |
std::set<std::string> iv::comms::ip::IPCommunicationDriver::m_validIPs |