public class RpcProtocolDecoder extends ProtocolCodeBasedDecoder
AbstractBatchDecoder.Cumulator| 限定符和类型 | 字段和说明 |
|---|---|
static int |
MIN_PROTOCOL_CODE_WITH_VERSION |
DEFAULT_ILLEGAL_PROTOCOL_VERSION_LENGTH, DEFAULT_PROTOCOL_VERSION_LENGTH, protocolCodeLengthCOMPOSITE_CUMULATOR, MERGE_CUMULATOR| 构造器和说明 |
|---|
RpcProtocolDecoder(int protocolCodeLength) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, userEventTriggeredpublic static final int MIN_PROTOCOL_CODE_WITH_VERSION
protected byte decodeProtocolVersion(io.netty.buffer.ByteBuf in)
ProtocolCodeBasedDecoderdecodeProtocolVersion 在类中 ProtocolCodeBasedDecoderin - input byte bufCopyright © 2020. All rights reserved.