public class PauseRequestHandler extends Object implements RequestHandler
pause
command. It pauses the
job agent by calling the Agent.pause()
method.private final Agent agent
public PauseRequestHandler(Agent agent)
public String handleCmd(Socket incoming, String cmd)
RequestHandler
handleCmd
in interface RequestHandler
incoming
- The socket that is handling the communication with the
remote clientcmd
- The command