@ChannelHandler.Sharable
public abstract class PortUnificationHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.buffer.ByteBuf>
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<Boolean> |
SSL_ENABLED |
| Constructor and Description |
|---|
PortUnificationHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLastIfNotPresent(io.netty.channel.ChannelPipeline pipeline,
io.netty.channel.ChannelHandler channelHandler) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg) |
protected abstract void |
configurePipeline(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPipeline pipeline) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic static final io.netty.util.AttributeKey<Boolean> SSL_ENABLED
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<io.netty.buffer.ByteBuf>Exceptionprotected void addLastIfNotPresent(io.netty.channel.ChannelPipeline pipeline,
io.netty.channel.ChannelHandler channelHandler)
protected abstract void configurePipeline(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPipeline pipeline)
Copyright © 2018. All rights reserved.