Interface RconCommandExecutor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
RCON 命令执行器
协议层不直接持有 Rcon 客户端,而是通过该函数式接口请求执行—— 这样协议层既不依赖全局状态,也不依赖 Rcon 的实现细节。
实现方为 QueQiaoRuntime(内部管道),平台实现无需关心。
- Since:
- 0.6.11
-
Method Summary
-
Method Details
-
execute
执行一条 RCON 命令- Parameters:
command- 命令内容- Returns:
- 命令执行结果
- Throws:
RconException- 未启用、未连接或执行失败
-