接口 CommandClient


public interface CommandClient
Basic interface for clients that sending commands.
作者:
Eric Zhao
  • 方法详细资料

    • sendCommand

      CommandResponse sendCommand(String host, int port, CommandRequest request) throws Exception
      Send a command to target destination.
      参数:
      host - target host
      port - target port
      request - command request
      返回:
      the response from target command server
      抛出:
      Exception - when unexpected error occurs