net.sf.basedb.util.jobagent
Class JobAgentServerConnection.ListenerThread
java.lang.Object
net.sf.basedb.util.jobagent.JobAgentServerConnection.ListenerThread
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- JobAgentServerConnection
private static class JobAgentServerConnection.ListenerThread
- extends Object
- implements Runnable
This class is used for listening to the specified socket for
incoming connections. Each request is forwarded to the
RequestHandler
in a separate thread.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
socket
private final ServerSocketChannel socket
requestHandler
private final RequestHandler requestHandler
logger
private final Logger logger
JobAgentServerConnection.ListenerThread
private JobAgentServerConnection.ListenerThread(ServerSocketChannel socket,
RequestHandler requestHandler,
Logger logger)
run
public void run()
- Specified by:
run
in interface Runnable