public class FixedLengthFrameDecoder extends ByteToMessageDecoder
logger| 构造器和说明 |
|---|
FixedLengthFrameDecoder(int frameLength) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
decode(Channel channel,
io.netty.buffer.ByteBuf in)
Create a frame out of the
ByteBuf and return it. |
protected void |
decode(Channel channel,
io.netty.buffer.ByteBuf in,
List<Object> out)
子类实现解码
|
callDecode, close, readconnect, custom, heartbeat, writeprotected void decode(Channel channel, io.netty.buffer.ByteBuf in, List<Object> out) throws Exception
ByteToMessageDecoderdecode 在类中 ByteToMessageDecoderExceptionCopyright © 2020. All rights reserved.