Class InputCommandCreate
java.lang.Object
com.iohao.net.extension.client.InputCommandCreate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInputCommand(int subCmd) nextParamInt(String paramTips) nextParamLong(String paramTips) nextParamString(String paramTips) ofCmdInfo(int subCmd) ofInputCommand(int subCmd) 创建模拟命令ofInputCommandInt(int subCmd) ofInputCommandLong(int subCmd) 创建模拟命令,在使用命令时需要在控制台输入 long 类型的请求参数ofInputCommandString(int subCmd) ofInputCommandUserId(int subCmd) 创建模拟命令,在使用命令时需要在控制台输入 long 类型的 userId 请求参数
-
Constructor Details
-
InputCommandCreate
public InputCommandCreate()
-
-
Method Details
-
ofCmdInfo
-
getInputCommand
-
ofInputCommand
创建模拟命令- Parameters:
subCmd- 子路由- Returns:
- InputCommand
-
ofInputCommandLong
创建模拟命令,在使用命令时需要在控制台输入 long 类型的请求参数- Parameters:
subCmd- 子路由- Returns:
- InputCommand
-
ofInputCommandUserId
创建模拟命令,在使用命令时需要在控制台输入 long 类型的 userId 请求参数- Parameters:
subCmd- 子路由- Returns:
- InputCommand
-
nextParamLong
-
ofInputCommandInt
-
nextParamInt
-
ofInputCommandString
-
nextParamString
-