public class PauseRequestHandler extends java.lang.Object implements RequestHandler
pause
command. It pauses the
job agent by calling the Agent.pause()
method.Constructor and Description |
---|
PauseRequestHandler(Agent agent) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
handleCmd(java.net.Socket incoming,
java.lang.String cmd)
Handle a command that was sent by an incoming request.
|
private final Agent agent
public PauseRequestHandler(Agent agent)
public java.lang.String handleCmd(java.net.Socket incoming, java.lang.String cmd)
RequestHandler
handleCmd
in interface RequestHandler
incoming
- The socket that is handling the communication with the
remote clientcmd
- The command