25 #ifndef CPEERNODE_HPP_ 26 #define CPEERNODE_HPP_ 51 void Send(
const ModuleMessage& msg);
std::string GetUUID() const
Gets the uuid of the node this addresses.
Definition: CPeerNode.cpp:70
std::string GetHostname() const
Gets the hostname of this peer.
Definition: CPeerNode.cpp:81
bool operator<(const CPeerNode &a, const CPeerNode &b)
Definition: CPeerNode.cpp:147
std::string m_uuid
Definition: CPeerNode.hpp:53
Base interface for agents/broker modules.
Definition: CPeerNode.hpp:37
void Send(const ModuleMessage &msg)
Sends a message to peer.
Definition: CPeerNode.cpp:115
CPeerNode()
Construct a peer node.
Definition: CPeerNode.cpp:58
bool operator==(const CPeerNode &a, const CPeerNode &b)
Definition: CPeerNode.cpp:138
General FREEDM Namespace.
Definition: CBroker.cpp:53
std::string GetPort() const
Gets the port of this peer.
Definition: CPeerNode.cpp:94