Class MasterSlotManager.RemoteSlotRequestHandler
- java.lang.Object
-
- net.sf.basedb.clients.jobagent.slotmanager.MasterSlotManager.RemoteSlotRequestHandler
-
- All Implemented Interfaces:
RequestHandler
- Enclosing class:
- MasterSlotManager
static class MasterSlotManager.RemoteSlotRequestHandler extends Object implements RequestHandler
Request handler implementation that accepts requests for slots from remote hosts.
-
-
Field Summary
Fields Modifier and Type Field Description private MasterSlotManager
master
-
Constructor Summary
Constructors Constructor Description RemoteSlotRequestHandler(MasterSlotManager master)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
handleCmd(Socket socket, String cmd)
Handle a command that was sent by an incoming request.
-
-
-
Field Detail
-
master
private final MasterSlotManager master
-
-
Constructor Detail
-
RemoteSlotRequestHandler
RemoteSlotRequestHandler(MasterSlotManager master)
-
-
Method Detail
-
handleCmd
public String handleCmd(Socket socket, String cmd)
Description copied from interface:RequestHandler
Handle a command that was sent by an incoming request.- Specified by:
handleCmd
in interfaceRequestHandler
- Parameters:
socket
- The socket that is handling the communication with the remote clientcmd
- The command- Returns:
- The answer
-
-