Class MessageCommandStrategy
java.lang.Object
io.github.lunasaw.gbproxy.server.transmit.cmd.strategy.AbstractServerCommandStrategy
io.github.lunasaw.gbproxy.server.transmit.cmd.strategy.impl.MessageCommandStrategy
- All Implemented Interfaces:
ServerCommandStrategy
MESSAGE消息类型策略实现
处理MESSAGE请求相关命令
- Author:
- luna
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.lunasaw.gbproxy.server.transmit.cmd.strategy.AbstractServerCommandStrategy
buildCommandContent, execute, execute, execute, generateSn, getDeviceId, getTargetDeviceId, validateParams
-
Constructor Details
-
MessageCommandStrategy
public MessageCommandStrategy()
-
-
Method Details
-
getCommandType
Description copied from interface:ServerCommandStrategy
获取命令类型- Returns:
- 命令类型
-
getCommandDescription
Description copied from interface:ServerCommandStrategy
获取命令描述- Returns:
- 命令描述
-
sendCommand
Description copied from class:AbstractServerCommandStrategy
发送命令- Overrides:
sendCommand
in classAbstractServerCommandStrategy
- Parameters:
req
- 命令请求参数- Returns:
- callId
-