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
Modifier and TypeFieldDescriptionprivate final org.slf4j.Logger
private final RequestHandler
private final ServerSocketChannel
-
Constructor Summary
ModifierConstructorDescriptionprivate
ListenerThread
(ServerSocketChannel socket, RequestHandler requestHandler, org.slf4j.Logger logger) -
Method Summary
-
Field Details
-
socket
-
requestHandler
-
logger
private final org.slf4j.Logger logger
-
-
Constructor Details
-
ListenerThread
private ListenerThread(ServerSocketChannel socket, RequestHandler requestHandler, org.slf4j.Logger logger)
-
-
Method Details