Inheritance diagram for ServerThread:
Public Member Functions | |
this (AbstractServer server, ServerSocket socket) | |
ThreadReturn | run () |
Public Attributes | |
ServerSocket | socket |
AbstractServer | server |
public class VersionAres typedef void | ThreadReturn |
else typedef int | ThreadReturn |
Definition at line 59 of file ServerThread.d.
|
Construct a ServerThread for the given Server, upon the specified socket Reimplemented in HttpThread. Definition at line 71 of file ServerThread.d. References server, AbstractServer::socket, and socket. |
|
Definition at line 93 of file ServerThread.d. References ServerSocket::accept(), ILogger::error(), ILogger::fatal(), AbstractServer::getLogger(), server, AbstractServer::service(), and socket. |
|
Definition at line 61 of file ServerThread.d. |
|
Definition at line 62 of file ServerThread.d. Referenced by run(), this(), and HttpBridge::this(). |
|
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 88 of file ServerThread.d. |
|
Definition at line 91 of file ServerThread.d. |