Package | Description |
---|---|
org.jim.client | |
org.jim.common.tcp | |
org.jim.server.tcp |
Modifier and Type | Method and Description |
---|---|
TcpPacket |
HelloClientAioHandler.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
org.tio.core.ChannelContext channelContext) |
TcpPacket |
HelloClientAioHandler.heartbeatPacket()
此方法如果返回null,框架层面则不会发心跳;如果返回非null,框架层面会定时发本方法返回的消息包
|
Modifier and Type | Method and Description |
---|---|
static TcpPacket |
TcpServerDecoder.decode(ByteBuffer buffer,
org.tio.core.ChannelContext channelContext) |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
TcpServerEncoder.encode(TcpPacket tcpPacket,
org.tio.core.GroupContext groupContext,
org.tio.core.ChannelContext channelContext) |
Modifier and Type | Method and Description |
---|---|
TcpPacket |
TcpProtocolHandler.decode(ByteBuffer buffer,
org.tio.core.ChannelContext channelContext) |
Copyright © 2018. All rights reserved.