public class MessageDecoder extends io.netty.handler.codec.ReplayingDecoder<DecoderState>
| Constructor and Description |
|---|
MessageDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext context,
io.netty.buffer.ByteBuf buffer,
java.util.List<java.lang.Object> out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext context,
java.lang.Throwable cause) |
callDecode, checkpoint, checkpoint, state, stateactualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChangedprotected void decode(io.netty.channel.ChannelHandlerContext context,
io.netty.buffer.ByteBuf buffer,
java.util.List<java.lang.Object> out)
throws java.lang.Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderjava.lang.Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext context,
java.lang.Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapter