public abstract class AdvancedChannelInboundHandler<T>
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
AdvancedChannelInboundHandler() |
AdvancedChannelInboundHandler(Class<? extends T> inboundMessageType) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptInboundMessage(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected abstract void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
T msg) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected boolean acceptInboundMessage(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
Exceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2018–2022. All rights reserved.