Inheritance diagram for ServerThread:
Public Member Functions | |
this (AbstractServer server, ServerSocket socket) | |
int | run () |
Public Attributes | |
ServerSocket | socket |
AbstractServer | server |
Definition at line 56 of file ServerThread.d.
|
Construct a ServerThread for the given Server, upon the specified socket Reimplemented in HttpThread. Definition at line 68 of file ServerThread.d. References AbstractServer::socket. |
|
Execute this thread until the Server says to halt. Each thread waits in the socket.accept() state, waiting for a connection request to arrive. Upon selection, a thread dispatches the request via the request service-handler and, upon completion, enters the socket.accept() state once more. Definition at line 85 of file ServerThread.d. References ServerSocket::accept(), ILogger::error(), ILogger::fatal(), AbstractServer::getLogger(), and AbstractServer::service(). |
|
Definition at line 58 of file ServerThread.d. |
|
Definition at line 59 of file ServerThread.d. Referenced by HttpBridge::this(). |