|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectio.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
com.alipay.remoting.codec.AbstractBatchDecoder
com.alipay.remoting.codec.ProtocolCodeBasedDecoder
com.alipay.remoting.rpc.protocol.RpcProtocolDecoder
public class RpcProtocolDecoder
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.alipay.remoting.codec.AbstractBatchDecoder |
|---|
AbstractBatchDecoder.Cumulator |
| Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler |
|---|
io.netty.channel.ChannelHandler.Sharable |
| Field Summary | |
|---|---|
static int |
MIN_PROTOCOL_CODE_WITH_VERSION
|
| Fields inherited from class com.alipay.remoting.codec.ProtocolCodeBasedDecoder |
|---|
DEFAULT_ILLEGAL_PROTOCOL_VERSION_LENGTH, DEFAULT_PROTOCOL_VERSION_LENGTH, protocolCodeLength |
| Fields inherited from class com.alipay.remoting.codec.AbstractBatchDecoder |
|---|
COMPOSITE_CUMULATOR, MERGE_CUMULATOR |
| Constructor Summary | |
|---|---|
RpcProtocolDecoder(int protocolCodeLength)
|
|
| Method Summary | |
|---|---|
protected byte |
decodeProtocolVersion(io.netty.buffer.ByteBuf in)
decode the protocol version |
| Methods inherited from class com.alipay.remoting.codec.ProtocolCodeBasedDecoder |
|---|
decode, decodeProtocolCode |
| Methods inherited from class com.alipay.remoting.codec.AbstractBatchDecoder |
|---|
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode |
| Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter |
|---|
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered |
| Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
|---|
ensureNotSharable, handlerAdded, isSharable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface io.netty.channel.ChannelHandler |
|---|
handlerAdded |
| Field Detail |
|---|
public static final int MIN_PROTOCOL_CODE_WITH_VERSION
| Constructor Detail |
|---|
public RpcProtocolDecoder(int protocolCodeLength)
| Method Detail |
|---|
protected byte decodeProtocolVersion(io.netty.buffer.ByteBuf in)
ProtocolCodeBasedDecoder
decodeProtocolVersion in class ProtocolCodeBasedDecoder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||