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.AioDecodeException
public 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.AioHandler
org.tio.core.exception.AioDecodeException
Copyright © 2018. All rights reserved.