Class ReconnectCommandAbstract
java.lang.Object
com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommandAbstract
- All Implemented Interfaces:
SubCommand
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
getPrefix
-
Constructor Details
-
ReconnectCommandAbstract
public ReconnectCommandAbstract()
-
-
Method Details
-
getName
获取命令名称- Specified by:
getName
in interfaceSubCommand
- Overrides:
getName
in classClientCommandAbstract
- Returns:
- reconnect
-
getDescription
获取命令描述- Specified by:
getDescription
in interfaceSubCommand
- Overrides:
getDescription
in classClientCommandAbstract
- Returns:
- 重新连接 Websocket Clients
-
getUsage
获取命令用法- Specified by:
getUsage
in interfaceSubCommand
- Overrides:
getUsage
in classClientCommandAbstract
- Returns:
- 使用:/
ClientCommandAbstract.getUsage()
reconnect [all]
-
getPermissionNode
获取命令权限节点- Specified by:
getPermissionNode
in interfaceSubCommand
- Overrides:
getPermissionNode
in classClientCommandAbstract
- Returns:
ClientCommandAbstract.getPermissionNode()
.reconnect
-
execute
执行命令Pass
- Specified by:
execute
in interfaceSubCommand
- Overrides:
execute
in classClientCommandAbstract
- Parameters:
commandReturner
- 命令执行者
-
execute
重连 WebSocket 客户端 reconnect [all] 命令调用- Specified by:
execute
in interfaceSubCommand
- Overrides:
execute
in classClientCommandAbstract
- Parameters:
all
- 是否全部重连commandReturner
- 命令执行者
-