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) |
decode
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public 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>
Exception
Copyright © 1970 The Apache Software Foundation. All rights reserved.