8 #ifndef FACEBOOK_NETWORK_TCP_SERVER_H
9 #define FACEBOOK_NETWORK_TCP_SERVER_H
This class is the base class for all connection oriented servers.
Definition: ConnectionOrientedServer.h:28
unsigned int ConnectionId
Definition of a connection id.
Definition: ConnectionOrientedServer.h:34
This class implements a TCP server.
Definition: TCPServer.h:25
~TCPServer() override
Destructs a TCP server.
bool buildSocket()
Builds the TCP socket.
TCPServer()
Creates a new TCP server.
bool start() override
Starts the server.
bool disconnect(const ConnectionId connection) override
Disconnects a specified connection.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15