Modifier and Type | Field and Description |
---|---|
static Map<Command,CommandStat> |
CommandStat.commandAndCount |
Modifier and Type | Method and Description |
---|---|
Command |
ImPacket.getCommand() |
Modifier and Type | Method and Description |
---|---|
static CommandStat |
CommandStat.getCount(Command command) |
void |
ImPacket.setCommand(Command type) |
Constructor and Description |
---|
ImPacket(Command command) |
ImPacket(Command command,
byte[] body) |
Modifier and Type | Method and Description |
---|---|
ImPacket |
HttpConvertPacket.ReqPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext) |
ImPacket |
HttpConvertPacket.RespPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext)
转HTTP协议响应包;
|
Modifier and Type | Method and Description |
---|---|
static Command |
Command.forNumber(int value) |
Command |
RespBody.getCommand() |
static Command |
Command.valueOf(int value) |
static Command |
Command.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command[] |
Command.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
RespBody |
RespBody.setCommand(Command command) |
Constructor and Description |
---|
RespBody(Command command) |
RespBody(Command command,
ImStatus status) |
RespBody(Command command,
Object data) |
Modifier and Type | Method and Description |
---|---|
ImPacket |
IConvertProtocolPacket.ReqPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext)
转化请求包
|
ImPacket |
IConvertProtocolPacket.RespPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext)
转化响应包
|
Modifier and Type | Method and Description |
---|---|
ImPacket |
TcpConvertPacket.ReqPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext)
转TCP协议请求包;
|
ImPacket |
TcpConvertPacket.RespPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext)
转TCP协议响应包;
|
Constructor and Description |
---|
TcpPacket(Command command,
byte[] body) |
Modifier and Type | Method and Description |
---|---|
static ImPacket |
ImKit.ConvertRespPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext)
功能描述:[转换不同协议响应包]
创建者:WChao 创建时间: 2017年9月21日 下午3:21:54
|
static ImPacket |
ImKit.ConvertRespPacket(ImPacket imPacket,
Command command,
org.tio.core.ChannelContext channelContext) |
Modifier and Type | Method and Description |
---|---|
ImPacket |
WsConvertPacket.ReqPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext) |
ImPacket |
WsConvertPacket.RespPacket(byte[] body,
Command command,
org.tio.core.ChannelContext channelContext)
Websocket响应包;
|
Modifier and Type | Method and Description |
---|---|
Command |
CmdHandlerIntf.command()
功能描述:[命令主键]
创建者:WChao 创建时间: 2017年7月17日 下午2:31:51
|
Modifier and Type | Method and Description |
---|---|
static AbCmdHandler |
CommandManager.getCommand(Command command) |
static <T> T |
CommandManager.getCommand(Command command,
Class<T> clazz) |
static AbCmdHandler |
CommandManager.removeCommand(Command command) |
Modifier and Type | Method and Description |
---|---|
Command |
MessageReqHandler.command() |
Command |
HeartbeatReqHandler.command() |
Command |
ChatReqHandler.command() |
Command |
JoinGroupReqHandler.command() |
Command |
AuthReqHandler.command() |
Command |
UserReqHandler.command() |
Command |
HandshakeReqHandler.command() |
Command |
CloseReqHandler.command() |
Command |
LoginReqHandler.command() |
Copyright © 2018. All rights reserved.