public class StartRequestHandler extends Object implements RequestHandler
start
command. It starts the
job agent by calling the Agent.start()
method.private final Agent agent
public StartRequestHandler(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