Package io.grpc.netty
Class ProtocolNegotiators.GrpcNegotiationHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.grpc.netty.ProtocolNegotiators.GrpcNegotiationHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- Enclosing class:
- ProtocolNegotiators
static final class ProtocolNegotiators.GrpcNegotiationHandler extends io.netty.channel.ChannelInboundHandlerAdapter
Adapts aProtocolNegotiationEvent
to theGrpcHttp2ConnectionHandler
.
-
-
Field Summary
Fields Modifier and Type Field Description private GrpcHttp2ConnectionHandler
next
-
Constructor Summary
Constructors Constructor Description GrpcNegotiationHandler(GrpcHttp2ConnectionHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object evt)
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Field Detail
-
next
private final GrpcHttp2ConnectionHandler next
-
-
Constructor Detail
-
GrpcNegotiationHandler
public GrpcNegotiationHandler(GrpcHttp2ConnectionHandler next)
-
-
Method Detail
-
userEventTriggered
public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object evt) throws java.lang.Exception
- Specified by:
userEventTriggered
in interfaceio.netty.channel.ChannelInboundHandler
- Overrides:
userEventTriggered
in classio.netty.channel.ChannelInboundHandlerAdapter
- Throws:
java.lang.Exception
-
-