private final class EmbeddedChannel.EmbeddedChannelPipeline extends DefaultChannelPipeline
Constructor and Description |
---|
EmbeddedChannelPipeline(EmbeddedChannel channel) |
Modifier and Type | Method and Description |
---|---|
protected void |
onUnhandledInboundException(java.lang.Throwable cause)
Called once a
Throwable hit the end of the ChannelPipeline without been handled by the user
in ChannelHandler.exceptionCaught(ChannelHandlerContext, Throwable) . |
protected void |
onUnhandledInboundMessage(java.lang.Object msg)
Called once a message hit the end of the
ChannelPipeline without been handled by the user
in ChannelInboundHandler.channelRead(ChannelHandlerContext, Object) . |
addAfter, addAfter, addBefore, addBefore, addFirst, addFirst, addFirst, addFirst, addLast, addLast, addLast, addLast, bind, bind, channel, close, close, connect, connect, connect, connect, context, context, context, deregister, deregister, disconnect, disconnect, fireChannelActive, fireChannelInactive, fireChannelRead, fireChannelReadComplete, fireChannelRegistered, fireChannelUnregistered, fireChannelWritabilityChanged, fireExceptionCaught, fireUserEventTriggered, first, firstContext, flush, get, get, iterator, last, lastContext, names, read, remove, remove, remove, removeFirst, removeLast, replace, replace, replace, toMap, toString, write, write, writeAndFlush, writeAndFlush
public EmbeddedChannelPipeline(EmbeddedChannel channel)
protected void onUnhandledInboundException(java.lang.Throwable cause)
DefaultChannelPipeline
Throwable
hit the end of the ChannelPipeline
without been handled by the user
in ChannelHandler.exceptionCaught(ChannelHandlerContext, Throwable)
.onUnhandledInboundException
in class DefaultChannelPipeline
protected void onUnhandledInboundMessage(java.lang.Object msg)
DefaultChannelPipeline
ChannelPipeline
without been handled by the user
in ChannelInboundHandler.channelRead(ChannelHandlerContext, Object)
. This method is responsible
to call ReferenceCountUtil.release(Object)
on the given msg at some point.onUnhandledInboundMessage
in class DefaultChannelPipeline