DUNE: Uniform Navigational Environment  2016.05.0
Transports::UDP::Contact Class Reference

Public Member Functions

 Contact (unsigned id, const Address &addr)
 
void setTimeout (float tout)
 
void update (void)
 
unsigned getId (void) const
 
const Address & getAddress (void) const
 
bool isInactive (void)
 
bool isActive (void)
 

Constructor & Destructor Documentation

Transports::UDP::Contact::Contact ( unsigned  id,
const Address &  addr 
)
inline

Member Function Documentation

const Address& Transports::UDP::Contact::getAddress ( void  ) const
inline
unsigned Transports::UDP::Contact::getId ( void  ) const
inline
bool Transports::UDP::Contact::isActive ( void  )
inline

References isInactive().

bool Transports::UDP::Contact::isInactive ( void  )
inline

Referenced by isActive().

void Transports::UDP::Contact::setTimeout ( float  tout)
inline
void Transports::UDP::Contact::update ( void  )
inline
Collaboration diagram for Transports::UDP::Contact:
Collaboration graph