Inheritance diagram for HttpThread:
Public Member Functions | |
this (AbstractServer server, ServerSocket socket) | |
void | setBridge (IProviderBridge bridge) |
IProviderBridge | getBridge () |
Public Attributes | |
IProviderBridge | bridge |
Private Member Functions | |
int | run () |
Private Attributes | |
ServerSocket | socket |
AbstractServer | server |
Definition at line 53 of file HttpThread.d.
|
Construct an HttpThread with the provided server and socket attributes. Reimplemented from ServerThread. Definition at line 64 of file HttpThread.d. |
|
Attach an IProvider/IServer bridge. This is where additional per-thread data is stored. Definition at line 76 of file HttpThread.d. |
|
Return the bridge associated with this thread. Definition at line 87 of file HttpThread.d. |
|
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 55 of file HttpThread.d. |
|
Definition at line 58 of file ServerThread.d. |
|
Definition at line 59 of file ServerThread.d. Referenced by HttpBridge::this(). |