Class 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.
    • Constructor Detail

    • 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