Class InternalProtocolNegotiators.ProtocolNegotiationHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
io.grpc.netty.InternalProtocolNegotiators.ProtocolNegotiationHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler
- Enclosing class:
InternalProtocolNegotiators
public static class InternalProtocolNegotiators.ProtocolNegotiationHandler
extends io.netty.channel.ChannelDuplexHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtocolNegotiationHandler(io.netty.channel.ChannelHandler next, ChannelLogger negotiationLogger) protectedProtocolNegotiationHandler(io.netty.channel.ChannelHandler next, String negotiatorName, ChannelLogger negotiationLogger) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidfireProtocolNegotiationEvent(io.netty.channel.ChannelHandlerContext ctx) protected final ProtocolNegotiationEventfinal voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) protected voidhandlerAdded0(io.netty.channel.ChannelHandlerContext ctx) protected voidprotocolNegotiationEventTriggered(io.netty.channel.ChannelHandlerContext ctx) protected final voidfinal voiduserEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) protected voiduserEventTriggered0(io.netty.channel.ChannelHandlerContext ctx, Object evt) Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read, writeMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved, isSharableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerRemoved
-
Constructor Details
-
ProtocolNegotiationHandler
protected ProtocolNegotiationHandler(io.netty.channel.ChannelHandler next, String negotiatorName, ChannelLogger negotiationLogger) -
ProtocolNegotiationHandler
protected ProtocolNegotiationHandler(io.netty.channel.ChannelHandler next, ChannelLogger negotiationLogger)
-
-
Method Details
-
handlerAdded
-
handlerAdded0
-
userEventTriggered
-
userEventTriggered0
-
protocolNegotiationEventTriggered
@ForOverride protected void protocolNegotiationEventTriggered(io.netty.channel.ChannelHandlerContext ctx) -
getProtocolNegotiationEvent
-
replaceProtocolNegotiationEvent
-
fireProtocolNegotiationEvent
protected final void fireProtocolNegotiationEvent(io.netty.channel.ChannelHandlerContext ctx)
-