DUNE: Uniform Navigational Environment  2019.02.1
Transports::UDP::NodeTable Class Reference

Public Member Functions

 NodeTable (void)
 
void addNode (unsigned id, const std::string &name, const std::string &services)
 
bool activate (unsigned id, const Address &addr)
 
bool deactivate (unsigned id, const Address &addr)
 
unsigned getActiveCount (void)
 
void send (UDPSocket &sock, const uint8_t *data, unsigned data_len, unsigned msgid)
 
void setLimitedComms (LimitedComms *lcomms)
 

Constructor & Destructor Documentation

Transports::UDP::NodeTable::NodeTable ( void  )
inline

Member Function Documentation

bool Transports::UDP::NodeTable::activate ( unsigned  id,
const Address &  addr 
)
inline
void Transports::UDP::NodeTable::addNode ( unsigned  id,
const std::string &  name,
const std::string &  services 
)
inline
bool Transports::UDP::NodeTable::deactivate ( unsigned  id,
const Address &  addr 
)
inline
unsigned Transports::UDP::NodeTable::getActiveCount ( void  )
inline
void Transports::UDP::NodeTable::send ( UDPSocket &  sock,
const uint8_t *  data,
unsigned  data_len,
unsigned  msgid 
)
inline
void Transports::UDP::NodeTable::setLimitedComms ( LimitedComms lcomms)
inline
Collaboration diagram for Transports::UDP::NodeTable:
Collaboration graph