public abstract class ObjectDecodeChannelInboundHandler<T>
extends io.netty.channel.SimpleChannelInboundHandler<T>
Constructor and Description |
---|
ObjectDecodeChannelInboundHandler() |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext,
Object object) |
Object |
channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext,
Object object,
io.netty.buffer.ByteBuf byteBuf) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
T t) |
abstract T |
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
T t,
io.netty.buffer.ByteBuf byteBuf) |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext channelHandlerContext) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerRemoved, isSharable
public final void channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext, Object object)
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.SimpleChannelInboundHandler<T>
public Object channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext, Object object, io.netty.buffer.ByteBuf byteBuf) throws Exception
Exception
public abstract T channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext, T t, io.netty.buffer.ByteBuf byteBuf) throws Exception
Exception
public void handlerAdded(io.netty.channel.ChannelHandlerContext channelHandlerContext) throws Exception
handlerAdded
in interface io.netty.channel.ChannelHandler
handlerAdded
in class io.netty.channel.ChannelHandlerAdapter
Exception