public class RpcProtocolDecoder extends ProtocolCodeBasedDecoder
AbstractBatchDecoder.Cumulator| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_PROTOCOL_CODE_WITH_VERSION |
DEFAULT_ILLEGAL_PROTOCOL_VERSION_LENGTH, DEFAULT_PROTOCOL_VERSION_LENGTH, protocolCodeLengthCOMPOSITE_CUMULATOR, MERGE_CUMULATOR| Constructor and Description |
|---|
RpcProtocolDecoder(int protocolCodeLength) |
| Modifier and Type | Method and Description |
|---|---|
protected byte |
decodeProtocolVersion(io.netty.buffer.ByteBuf in)
decode the protocol version
|
decode, decodeProtocolCodeactualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, isSharablepublic static final int MIN_PROTOCOL_CODE_WITH_VERSION
protected byte decodeProtocolVersion(io.netty.buffer.ByteBuf in)
ProtocolCodeBasedDecoderdecodeProtocolVersion in class ProtocolCodeBasedDecoderin - input byte bufCopyright © 2024. All rights reserved.