Interface Connection

    • Method Detail

      • sendRequest

        String sendRequest​(RemoteCommand cmd,
                           RemoteCommandProcessor processor)
        Sends the request command.
        Parameters:
        cmd - the command to send
        processor - the processor for formatting/parsing
        Returns:
        null if successful, otherwise error message
      • sendResponse

        String sendResponse​(RemoteCommand cmd,
                            RemoteCommandProcessor processor)
        Sends the response command.
        Parameters:
        cmd - the command to send
        processor - the processor for formatting/parsing
        Returns:
        null if successful, otherwise error message