![]() |
DUNE: Uniform Navigational Environment
2017.01.0
|
Classes | |
| struct | Client |
Public Types | |
| typedef std::list< Client > | ClientList |
Public Member Functions | |
| Task (const std::string &name, Tasks::Context &ctx) | |
| ~Task (void) | |
| void | onResourceAcquisition (void) |
| void | updateEntityState (unsigned client_count) |
| void | closeConnection (Client &c, std::exception &e) |
| void | onResourceRelease (void) |
| void | onDataTransmission (const uint8_t *p, unsigned int n) |
| void | onDataReception (uint8_t *buf, unsigned int cap, double timeout) |
| void | acceptNewClient (void) |
| void | handleClients (uint8_t *buf, unsigned int cap) |
Public Attributes | |
| Arguments | m_args |
| TCPSocket * | m_sock |
| Poll | m_poll |
| ClientList | m_clients |
Static Public Attributes | |
| static const int | c_port_retries |
| typedef std::list<Client> Transports::TCP::Server::Task::ClientList |
|
inline |
|
inline |
References onResourceRelease().
|
inline |
|
inline |
|
inline |
References closeConnection(), m_clients, and m_poll.
Referenced by onDataReception().
|
inline |
References acceptNewClient(), handleClients(), m_poll, and m_sock.
|
inline |
References closeConnection(), and m_clients.
|
inline |
|
inline |
|
inline |
Referenced by acceptNewClient(), closeConnection(), and onResourceAcquisition().
|
static |
Referenced by onResourceAcquisition().
| Arguments Transports::TCP::Server::Task::m_args |
Referenced by onResourceAcquisition(), and Task().
| ClientList Transports::TCP::Server::Task::m_clients |
Referenced by acceptNewClient(), closeConnection(), handleClients(), onDataTransmission(), and onResourceRelease().
| Poll Transports::TCP::Server::Task::m_poll |
Referenced by acceptNewClient(), closeConnection(), handleClients(), onDataReception(), onResourceAcquisition(), and onResourceRelease().
| TCPSocket* Transports::TCP::Server::Task::m_sock |
Referenced by acceptNewClient(), onDataReception(), onResourceAcquisition(), and onResourceRelease().
