#include <NetRemoteManager.hh>
Inherits RemoteManager.
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 | |
| NetRemoteManager (NetCommPortal *portal, struct in_addr addr, unsigned short port) | |
| virtual bool | sendMsg (Message *msg, unsigned char *preamble=NULL, int preamble_size=0) |
| in_addr | getAddress () const |
| unsigned short | getPort () const |
| bool | flush () |
| bool | flushMsg (Message *msg, unsigned char *preamble, int preamble_size) |
| bool | flushBuffer () |
|
||||||||||||||||
|
Constructor
|
|
|
Flushes any buffered output to this remote manager |
|
|
Immediately write the buffer of messages to the UDP socket
|
|
||||||||||||||||
|
Immediately write a message to the UDP socket
|
|
|
This method returns the network address of the remote communication manager's machine. |
|
|
This method returns the UDP port monitored by the remote communication manager. |
|
||||||||||||||||
|
Sends a message to the remote manager
Implements RemoteManager. |