public class MongoWireProtocolHandler
extends io.netty.handler.codec.LengthFieldBasedFrameDecoder
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_MESSAGE_SIZE_BYTES |
static int |
MAX_WIRE_VERSION |
static int |
MAX_WRITE_BATCH_SIZE |
static int |
MIN_WIRE_VERSION |
| Constructor and Description |
|---|
MongoWireProtocolHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected ClientRequest |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buf) |
decode, extractFrame, getUnadjustedFrameLengthactualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredpublic static final int MAX_MESSAGE_SIZE_BYTES
public static final int MAX_WIRE_VERSION
public static final int MIN_WIRE_VERSION
public static final int MAX_WRITE_BATCH_SIZE
protected ClientRequest decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf buf) throws java.lang.Exception
decode in class io.netty.handler.codec.LengthFieldBasedFrameDecoderjava.lang.Exception