public final class RntbdResponseDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
| Constructor and Description |
|---|
RntbdResponseDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext context,
io.netty.buffer.ByteBuf in,
List<Object> out)
Deserialize from an input
ByteBuf to an RntbdResponse instance. |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharableprotected void decode(io.netty.channel.ChannelHandlerContext context,
io.netty.buffer.ByteBuf in,
List<Object> out)
ByteBuf to an RntbdResponse instance.
This method is called till it reads no bytes from the ByteBuf or there is no more data to be read.
decode in class io.netty.handler.codec.ByteToMessageDecodercontext - the ChannelHandlerContext to which this RntbdResponseDecoder belongs.in - the ByteBuf to which data to be decoded is read.out - the List to which decoded messages are added.Copyright © 2020. All rights reserved.