public interface ChannelInboundMessageHandler<I> extends ChannelInboundHandler
ChannelInboundHandler which store the inbound data in a MessageBuf for futher processing.ChannelHandler.Sharable| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.MessageBuf<I> |
newInboundBuffer(ChannelHandlerContext ctx)
Return the
MessageBuf which will be used for inbound data to store. |
channelActive, channelInactive, channelRegistered, channelUnregistered, inboundBufferUpdatedafterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaught, userEventTriggeredio.netty.buffer.MessageBuf<I> newInboundBuffer(ChannelHandlerContext ctx) throws Exception
MessageBuf which will be used for inbound data to store.newInboundBuffer in interface ChannelInboundHandlerExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.