public static class InternalProtocolNegotiators.ProtocolNegotiationHandler
extends io.netty.channel.ChannelDuplexHandler
Modifier | Constructor and Description |
---|---|
protected |
ProtocolNegotiationHandler(io.netty.channel.ChannelHandler next) |
protected |
ProtocolNegotiationHandler(io.netty.channel.ChannelHandler next,
String negotiatorName) |
Modifier and Type | Method and Description |
---|---|
protected void |
fireProtocolNegotiationEvent(io.netty.channel.ChannelHandlerContext ctx) |
protected ProtocolNegotiationEvent |
getProtocolNegotiationEvent() |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
handlerAdded0(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
protocolNegotiationEventTriggered(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
replaceProtocolNegotiationEvent(ProtocolNegotiationEvent pne) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
protected void |
userEventTriggered0(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
bind, close, connect, deregister, disconnect, flush, read, write
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerRemoved, isSharable
protected ProtocolNegotiationHandler(io.netty.channel.ChannelHandler next, String negotiatorName)
protected ProtocolNegotiationHandler(io.netty.channel.ChannelHandler next)
public final void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) throws Exception
handlerAdded
in interface io.netty.channel.ChannelHandler
handlerAdded
in class io.netty.channel.ChannelHandlerAdapter
Exception
@ForOverride protected void handlerAdded0(io.netty.channel.ChannelHandlerContext ctx) throws Exception
Exception
public final void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) throws Exception
userEventTriggered
in interface io.netty.channel.ChannelInboundHandler
userEventTriggered
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
protected void userEventTriggered0(io.netty.channel.ChannelHandlerContext ctx, Object evt) throws Exception
Exception
@ForOverride protected void protocolNegotiationEventTriggered(io.netty.channel.ChannelHandlerContext ctx)
protected final ProtocolNegotiationEvent getProtocolNegotiationEvent()
protected final void replaceProtocolNegotiationEvent(ProtocolNegotiationEvent pne)
protected final void fireProtocolNegotiationEvent(io.netty.channel.ChannelHandlerContext ctx)
Copyright © 2019. All rights reserved.