|
TOBI Interface A
0.1
|
Server to distribute DataPacket via UDP. More...
#include <udp_data_server.h>
Public Member Functions | |
| UDPDataServer (boost::asio::io_service &io_service) | |
| Constructor. | |
| virtual | ~UDPDataServer () |
| Destructor. | |
| void | setDestination (const std::string &address, boost::uint16_t port) |
| Sets the destination to sent packets to. | |
| std::string | getTargetIP () |
| boost::asio::ip::udp::endpoint | destination () const |
| Returns the DataPacket destination. | |
| void | incClientCount () |
| Increments the number of clients of this server by one. | |
| void | decClientCount () |
| Decrements the number of clients of this server by one. | |
| void | sendDataPacket (DataPacket &packet) |
| Sends a DataPacket to the clients. | |
Server to distribute DataPacket via UDP.
Definition at line 62 of file udp_data_server.h.