public abstract class AbProtocolHandler extends Object implements org.tio.server.intf.ServerAioHandler
| Constructor and Description |
|---|
AbProtocolHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.tio.core.intf.Packet |
decode(ByteBuffer buffer,
org.tio.core.ChannelContext channelContext) |
org.tio.core.intf.Packet |
decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
org.tio.core.ChannelContext channelContext) |
abstract void |
init(ImConfig imConfig) |
abstract IProtocol |
protocol() |
public abstract IProtocol protocol()
public abstract org.tio.core.intf.Packet decode(ByteBuffer buffer, org.tio.core.ChannelContext channelContext) throws org.tio.core.exception.AioDecodeException
org.tio.core.exception.AioDecodeExceptionpublic org.tio.core.intf.Packet decode(ByteBuffer buffer, int limit, int position, int readableLength, org.tio.core.ChannelContext channelContext) throws org.tio.core.exception.AioDecodeException
decode in interface org.tio.core.intf.AioHandlerorg.tio.core.exception.AioDecodeExceptionCopyright © 2018. All rights reserved.