#include <RemoteManager.hh>
Inherited by NetRemoteManager, and SerialRemoteManager.
This class contains all the information a communication manager has about a remote communications manager and provides an abstracted method for sending messages.
Public Member Functions | |
virtual | ~RemoteManager () |
com_id_t | getID () const |
void | setID (com_id_t id) |
TimeStamp | getTimeStamp () const |
void | setTimeStamp (TimeStamp t) |
int | lastContactTime () |
virtual bool | sendMsg (Message *msg, unsigned char *preamble=NULL, int preamble_size=0)=0 |
Static Public Member Functions | |
utils::Generator< RemoteManager > * | generator (utils::SymbolTable *table) |
RemoteManager * | generate (const char *spec_string, utils::SymbolTable *table) |
|
Empty virtual destructor for C++ syntactic reasons |
|
Create a remote manager given a spec string and a symbol table
|
|
Get the remote manager generator from the symbol table.
|
|
This method returns the last known identifier for the remote communication manager. |
|
This method returns the timestamp of the last message received from the remote communication manager. |
|
This method returns the number of milliseconds since the last message was received from the remote communications manager. |
|
Sends a message to the remote manager
Implemented in NetRemoteManager, and SerialRemoteManager. |