net.sf.basedb.clients.jobagent.slotmanager
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
master
private final MasterSlotManager master
MasterSlotManager.RemoteSlotRequestHandler
MasterSlotManager.RemoteSlotRequestHandler(MasterSlotManager master)
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 interface RequestHandler
- Parameters:
socket
- The socket that is handling the communication with the
remote clientcmd
- The command
- Returns:
- The answer