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:
getNamein interfaceSubCommand- Overrides:
getNamein classClientCommandAbstract- Returns:
- reconnect
-
getDescription
获取命令描述- Specified by:
getDescriptionin interfaceSubCommand- Overrides:
getDescriptionin classClientCommandAbstract- Returns:
- 重新连接 Websocket Clients
-
getUsage
获取命令用法- Specified by:
getUsagein interfaceSubCommand- Overrides:
getUsagein classClientCommandAbstract- Returns:
- 使用:/
ClientCommandAbstract.getUsage()reconnect [all]
-
getPermissionNode
获取命令权限节点- Specified by:
getPermissionNodein interfaceSubCommand- Overrides:
getPermissionNodein classClientCommandAbstract- Returns:
ClientCommandAbstract.getPermissionNode().reconnect
-
execute
执行命令Pass
- Specified by:
executein interfaceSubCommand- Overrides:
executein classClientCommandAbstract- Parameters:
commandReturner- 命令执行者
-
execute
重连 WebSocket 客户端 reconnect [all] 命令调用- Specified by:
executein interfaceSubCommand- Overrides:
executein classClientCommandAbstract- Parameters:
all- 是否全部重连commandReturner- 命令执行者
-