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
.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
incoming
private final Socket incoming
requestHandler
private final RequestHandler requestHandler
logger
private final Logger logger
JobAgentServerConnection.RequestHandlerThread
private JobAgentServerConnection.RequestHandlerThread(Socket incoming,
RequestHandler requestHandler,
Logger logger)
run
public void run()
- Specified by:
run
in interface Runnable