DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
Node (const std::string &name, const std::string &services) | |
Node (const Node &node) | |
const std::string & | getName (void) const |
bool | check (const Address &addr, unsigned port) |
bool | activate (const Address &addr) |
bool | deactivate (const Address &addr) |
void | send (UDPSocket &sock, const uint8_t *data, unsigned data_len) |
|
inline |
|
inline |
|
inline |
Point active address to existing node service.
[in] | addr | node address. |
|
inline |
Check if address and port are on this node's list of services.
[in] | addr | address. |
[in] | port | port. |
Referenced by Transports::UDP::Task::consume().
|
inline |
Deactivate destination address from list of services.
[in] | addr | node address. |
|
inline |
Get node name.
|
inline |
Send data to node.
[in] | sock | UDP destination socket. |
[in] | data | data to be transmitted. |
[in] | data_len | length of data to be transmitted. |