2.17.2: 2011-06-17

net.sf.basedb.clients.jobagent.slotmanager
Class MasterSlotManager.RemoteSlotRequestHandler

java.lang.Object
  extended by 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
private  MasterSlotManager master
           
 
Constructor Summary
MasterSlotManager.RemoteSlotRequestHandler(MasterSlotManager master)
           
 
Method Summary
 String handleCmd(Socket socket, String cmd)
          Handle a command that was sent by an incoming request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

master

private final MasterSlotManager master
Constructor Detail

MasterSlotManager.RemoteSlotRequestHandler

MasterSlotManager.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 interface RequestHandler
Parameters:
socket - The socket that is handling the communication with the remote client
cmd - The command
Returns:
The answer

2.17.2: 2011-06-17