public class NettyPacketDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
| コンストラクタと説明 |
|---|
NettyPacketDecoder(PacketDirection 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_)
Decode the from one
ByteBuf to an other. |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtpublic NettyPacketDecoder(PacketDirection 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.lang.Exception
io.netty.handler.codec.ByteToMessageDecoderByteBuf to an other. This method will be called till either the input
ByteBuf has nothing to read when return from this method or till nothing was read from the input
ByteBuf.decode クラス内 io.netty.handler.codec.ByteToMessageDecoderp_decode_1_ - the ChannelHandlerContext which this ByteToMessageDecoder belongs top_decode_2_ - the ByteBuf from which to read datap_decode_3_ - the List to which decoded messages should be addedjava.lang.Exception - is thrown if an error occurs