Class StopRequestHandler
java.lang.Object
net.sf.basedb.clients.jobagent.handlers.StopRequestHandler
- All Implemented Interfaces:
RequestHandler
This is a request handler for the
stop
command. It shuts down the
job agent by calling the Agent.stop()
method.- Version:
- 2.0
- Author:
- nicklas
- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
agent
-
-
Constructor Details
-
StopRequestHandler
Create a new stop request handler.- Parameters:
agent
- The agent
-
-
Method Details
-
handleCmd
Description copied from interface:RequestHandler
Handle a command that was sent by an incoming request.- Specified by:
handleCmd
in interfaceRequestHandler
- Parameters:
incoming
- The socket that is handling the communication with the remote clientcmd
- The command- Returns:
- The answer
-