TOBI Interface A  0.1
tia::TCPDataServer Class Reference

This class manages all TCP data connections to clients. More...

#include <tcp_data_server.h>

Public Member Functions

 TCPDataServer (boost::asio::io_service &io_service)
 Constructor.
bool connected (const boost::asio::ip::tcp::endpoint &endpoint) const
 Tells if the server is connected with given endpoint (client)
boost::asio::ip::tcp::endpoint addConnection ()
 Adds a new client connection.
void removeConnection (const boost::asio::ip::tcp::endpoint &endpoint)
 Removes a client specified by its endpoint.
void enableTransmission (const boost::asio::ip::tcp::endpoint &endpoint, bool enable)
 Enables/Disables the transmission of data packets to the specified client.
void sendDataPacket (DataPacket &packet)
 Sends a data packet to all active clients.

Detailed Description

This class manages all TCP data connections to clients.

Definition at line 148 of file tcp_data_server.h.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations