Class ReconnectCommand
java.lang.Object
com.github.theword.queqiao.tool.command.SubCommand
com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommand
-
Field Summary
Fields inherited from class com.github.theword.queqiao.tool.command.SubCommand
children, parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.theword.queqiao.tool.command.SubCommand
addChild, execute, getChildren, getFullPath, getFullPermissionNode, getParent, getPermissionNode, isRoot, sendCommandTree
-
Constructor Details
-
ReconnectCommand
public ReconnectCommand()
-
-
Method Details
-
getName
获取命令名称- Specified by:
getNamein classSubCommand- Returns:
- reconnect
-
getDescription
获取命令描述- Specified by:
getDescriptionin classSubCommand- Returns:
- 重新连接 Websocket Clients
-
getUsage
获取命令用法(添加参数说明)- Overrides:
getUsagein classSubCommand- Returns:
- 使用说明
-
onExecute
重连 WebSocket 客户端 reconnect 命令调用- Specified by:
onExecutein classSubCommand- Parameters:
commandReturner- 命令执行者args- 命令参数
-
reconnect
-