![]() |
VR-Forces 5.0.2 Developer's Guide
|
This is used by the master to send and RDEs to receive UDP (broadcast or multicast) messages.
Public Member Functions | |
| DtUdpServer (DtDe &de, const std::string &udpDevice, const std::string &udpAddress, int port) | |
| virtual | ~DtUdpServer () |
| virtual void | checkForMessages () |
| virtual void | addClient () |
| virtual void | removeClient () |
| int | clientCount () const |
Static Public Member Functions | |
| static void | setBlocking (bool blocking) |
Protected Member Functions | |
| void | processReads () |
Protected Attributes | |
| DtDe & | myDe |
| std::string | myUdpAddress |
| std::string | myUdpDevice |
| int | myPort |
| int | myClientCount |
| DtUdpMessageClient * | myMessageClient |
| DtMessageDispatcher & | myDispatcher |
Private Member Functions | |
| DtUdpServer () | |
|
private |
| makVrv::DtUdpServer::DtUdpServer | ( | DtDe & | de, |
| const std::string & | udpDevice, | ||
| const std::string & | udpAddress, | ||
| int | port | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Check existing clients for new messages.
|
virtual |
Increment the client count.
|
virtual |
Decrement the client count.
|
inline |
|
static |
Modify the blocking state of a socket.
|
protected |
Process reads.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |