2.17.2: 2011-06-17

net.sf.basedb.util.jobagent
Class JobAgentServerConnection.RequestHandlerThread

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

Field Detail

incoming

private final Socket incoming

requestHandler

private final RequestHandler requestHandler

logger

private final Logger logger
Constructor Detail

JobAgentServerConnection.RequestHandlerThread

private JobAgentServerConnection.RequestHandlerThread(Socket incoming,
                                                      RequestHandler requestHandler,
                                                      Logger logger)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

2.17.2: 2011-06-17