Package 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
This class is used for listening to the specified socket for
incoming connections. Each request is forwarded to the
RequestHandler
in a separate thread.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Logger
private final RequestHandler
private final ServerSocketChannel
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ListenerThread
(ServerSocketChannel socket, RequestHandler requestHandler, Logger logger) -
Method Summary