public abstract class AbstractHandshakeHandler<T extends com.google.protobuf.MessageLite> extends io.netty.handler.codec.MessageToMessageDecoder<InboundRpcMessage>
| Modifier and Type | Field and Description |
|---|---|
protected int |
coordinationId |
protected com.google.protobuf.Internal.EnumLite |
handshakeType |
protected com.google.protobuf.Parser<T> |
parser |
| Constructor and Description |
|---|
AbstractHandshakeHandler(com.google.protobuf.Internal.EnumLite handshakeType,
com.google.protobuf.Parser<T> parser) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
consumeHandshake(io.netty.channel.ChannelHandlerContext ctx,
T msg) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
InboundRpcMessage inbound,
List<Object> outputs) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected final com.google.protobuf.Internal.EnumLite handshakeType
protected final com.google.protobuf.Parser<T extends com.google.protobuf.MessageLite> parser
protected volatile int coordinationId
public AbstractHandshakeHandler(com.google.protobuf.Internal.EnumLite handshakeType,
com.google.protobuf.Parser<T> parser)
protected void decode(io.netty.channel.ChannelHandlerContext ctx,
InboundRpcMessage inbound,
List<Object> outputs)
throws Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<InboundRpcMessage>ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.