Package net.sf.basedb.util.jobagent
Interface RequestHandler
- All Known Subinterfaces:
CustomRequestHandler
- All Known Implementing Classes:
AbstractCustomRequestHandler
,DefaultRequestHandler
,InfoRequestHandler
,MasterSlotManager.RemoteSlotRequestHandler
,MultiProtocolRequestHandler
,PauseRequestHandler
,PingRequestHandler
,SignalRequestHandler
,StartRequestHandler
,StopRequestHandler
public interface RequestHandler
A request handler object takes care of an incoming request from a
JobAgentServerConnection
, processes it and returns an answer.- Version:
- 2.0
- Author:
- nicklas
- See Also:
- Last modified
- $Date: 2014-04-09 14:21:20 +0200 (on, 09 apr 2014) $
-
Method Summary
-
Method Details
-
handleCmd
Handle a command that was sent by an incoming request.- Parameters:
socket
- The socket that is handling the communication with the remote clientcmd
- The command- Returns:
- The answer
-