public class NettyPacketDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
| Modifier and Type | Field and Description |
|---|---|
private EnumPacketDirection |
direction |
private static org.apache.logging.log4j.Logger |
LOGGER |
private static org.apache.logging.log4j.Marker |
RECEIVED_PACKET_MARKER |
| Constructor and Description |
|---|
NettyPacketDecoder(EnumPacketDirection direction) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext p_decode_1_,
io.netty.buffer.ByteBuf p_decode_2_,
java.util.List<java.lang.Object> p_decode_3_) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharableprivate static final org.apache.logging.log4j.Logger LOGGER
private static final org.apache.logging.log4j.Marker RECEIVED_PACKET_MARKER
private final EnumPacketDirection direction
public NettyPacketDecoder(EnumPacketDirection direction)
protected void decode(io.netty.channel.ChannelHandlerContext p_decode_1_,
io.netty.buffer.ByteBuf p_decode_2_,
java.util.List<java.lang.Object> p_decode_3_)
throws java.io.IOException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderjava.io.IOExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionjava.lang.Exception