static class MasterSlotManager.RemoteSlotRequestHandler extends Object implements RequestHandler
Modifier and Type | Field and Description |
---|---|
private MasterSlotManager |
master |
Constructor and Description |
---|
RemoteSlotRequestHandler(MasterSlotManager master) |
Modifier and Type | Method and Description |
---|---|
String |
handleCmd(Socket socket,
String cmd)
Handle a command that was sent by an incoming request.
|
private final MasterSlotManager master
RemoteSlotRequestHandler(MasterSlotManager master)
public String handleCmd(Socket socket, String cmd)
RequestHandler
handleCmd
in interface RequestHandler
socket
- The socket that is handling the communication with the
remote clientcmd
- The command