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,
List<Object> out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable cause) |
callDecode, channelInactive, checkpoint, checkpoint, state, stateactualReadableBytes, 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,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2016. All rights reserved.