protected abstract static class BasicServer.ServerHandshakeHandler<T extends com.google.protobuf.MessageLite> extends AbstractHandshakeHandler<T>
coordinationId, handshakeType, parser| Constructor and Description |
|---|
ServerHandshakeHandler(com.google.protobuf.Internal.EnumLite handshakeType,
com.google.protobuf.Parser<T> parser) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumeHandshake(io.netty.channel.ChannelHandlerContext ctx,
T inbound) |
abstract com.google.protobuf.MessageLite |
getHandshakeResponse(T inbound) |
decodeacceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic ServerHandshakeHandler(com.google.protobuf.Internal.EnumLite handshakeType,
com.google.protobuf.Parser<T> parser)
protected void consumeHandshake(io.netty.channel.ChannelHandlerContext ctx,
T inbound)
throws Exception
consumeHandshake in class AbstractHandshakeHandler<T extends com.google.protobuf.MessageLite>ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.