Main Page | Modules | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

RemoteManager Class Reference
[Communications Facilities]

#include <CommManager.hh>

List of all members.


Detailed Description

Class to keep track of a remote communications manager.

This class contains all the information a communication manager has about a remote communications manager.


Public Member Functions

 RemoteManager (struct in_addr addr, unsigned short port)
in_addr getAddress () const
unsigned short getPort () const
com_id_t getID () const
void setID (com_id_t id)
TimeStamp getTimeStamp () const
void setTimeStamp (TimeStamp t)
int lastContactTime ()


Member Function Documentation

struct in_addr RemoteManager::getAddress  )  const [inline]
 

This method returns the network address of the remote communication manager's machine.

com_id_t RemoteManager::getID  )  const [inline]
 

This method returns the last known identifier for the remote communication manager.

unsigned short RemoteManager::getPort  )  const [inline]
 

This method returns the UDP port monitored by the remote communication manager.

TimeStamp RemoteManager::getTimeStamp  )  const [inline]
 

This method returns the timestamp of the last message received from the remote communication manager.

int RemoteManager::lastContactTime  ) 
 

This method returns the number of milliseconds since the last message was received from the remote communications manager.


RHexLib Reference Documentation