public class ServerFrameDecoder extends io.netty.handler.codec.ReplayingDecoder<Object>
| Constructor and Description |
|---|
ServerFrameDecoder() |
ServerFrameDecoder(int maxMessageSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext context,
io.netty.buffer.ByteBuf in,
List<Object> out) |
protected ServerFrame |
decodeCommand(io.netty.channel.ChannelHandlerContext context,
String command,
io.netty.buffer.ByteBuf in) |
protected int |
getMaxMessageSize() |
protected void |
throwTooLongFrameException(io.netty.channel.ChannelHandlerContext ctx) |
callDecode, channelInactive, checkpoint, checkpoint, state, stateactualReadableBytes, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredpublic ServerFrameDecoder()
public ServerFrameDecoder(int maxMessageSize)
protected ServerFrame decodeCommand(io.netty.channel.ChannelHandlerContext context, String command, io.netty.buffer.ByteBuf in)
protected void decode(io.netty.channel.ChannelHandlerContext context,
io.netty.buffer.ByteBuf in,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderExceptionprotected int getMaxMessageSize()
protected void throwTooLongFrameException(io.netty.channel.ChannelHandlerContext ctx)
Copyright © 2015. All Rights Reserved.