
public class LocalPacketCodec extends io.netty.handler.codec.ByteToMessageCodec<AbstractLocalPacket>
| Constructor and Description |
|---|
LocalPacketCodec() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buf,
List<Object> out) |
static AbstractLocalPacket |
decodeNetworkPacket(io.netty.buffer.ByteBuf buf) |
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
AbstractLocalPacket msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, channelInactive, channelRead, channelReadComplete, decodeLast, handlerAdded, handlerRemoved, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buf,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageCodec<AbstractLocalPacket>Exceptionpublic static AbstractLocalPacket decodeNetworkPacket(io.netty.buffer.ByteBuf buf) throws OpenR66ProtocolPacketException
OpenR66ProtocolPacketExceptionprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
AbstractLocalPacket msg,
io.netty.buffer.ByteBuf out)
throws Exception
encode in class io.netty.handler.codec.ByteToMessageCodec<AbstractLocalPacket>ExceptionCopyright © 2009–2020 Waarp. All rights reserved.