Package net.sf.basedb.util.jobagent
Class JobAgentServerConnection.RequestHandlerThread
java.lang.Object
net.sf.basedb.util.jobagent.JobAgentServerConnection.RequestHandlerThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
- JobAgentServerConnection
private static class JobAgentServerConnection.RequestHandlerThread
extends Object
implements Runnable
This class is used for forwarding requests to a
RequestHandler
.
For each accepted request a new thread is created befor the request
is forwarded to the RequestHandler
.-
Field Summary
Modifier and TypeFieldDescriptionprivate final Socket
private final org.slf4j.Logger
private final RequestHandler
-
Constructor Summary
ModifierConstructorDescriptionprivate
RequestHandlerThread
(Socket incoming, RequestHandler requestHandler, org.slf4j.Logger logger) -
Method Summary
-
Field Details
-
incoming
-
requestHandler
-
logger
private final org.slf4j.Logger logger
-
-
Constructor Details
-
RequestHandlerThread
private RequestHandlerThread(Socket incoming, RequestHandler requestHandler, org.slf4j.Logger logger)
-
-
Method Details