接口 CommandClient
public interface CommandClient
Basic interface for clients that sending commands.
- 作者:
- Eric Zhao
-
方法概要
修饰符和类型方法说明sendCommand(String host, int port, CommandRequest request) Send a command to target destination.
-
方法详细资料
-
sendCommand
Send a command to target destination.- 参数:
host- target hostport- target portrequest- command request- 返回:
- the response from target command server
- 抛出:
Exception- when unexpected error occurs
-