Package io.netty.channel.embedded
Class EmbeddedChannel.EmbeddedChannelPipeline
java.lang.Object
io.netty.channel.DefaultChannelPipeline
io.netty.channel.embedded.EmbeddedChannel.EmbeddedChannelPipeline
- All Implemented Interfaces:
ChannelInboundInvoker,ChannelOutboundInvoker,ChannelPipeline,Iterable<Map.Entry<String,ChannelHandler>>
- Enclosing class:
EmbeddedChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled once aThrowablehit the end of theChannelPipelinewithout been handled by the user inChannelHandler.exceptionCaught(ChannelHandlerContext, Throwable).protected voidCalled once a message hit the end of theChannelPipelinewithout been handled by the user inChannelInboundHandler.channelRead(ChannelHandlerContext, Object).Methods inherited from class io.netty.channel.DefaultChannelPipeline
addAfter, addAfter, addBefore, addBefore, addFirst, addFirst, addFirst, addFirst, addFirst, addLast, addLast, addLast, addLast, addLast, bind, bind, channel, close, close, connect, connect, connect, connect, context, context, context, decrementPendingOutboundBytes, deregister, deregister, disconnect, disconnect, fireChannelActive, fireChannelInactive, fireChannelRead, fireChannelReadComplete, fireChannelRegistered, fireChannelUnregistered, fireChannelWritabilityChanged, fireExceptionCaught, fireUserEventTriggered, first, firstContext, flush, get, get, incrementPendingOutboundBytes, iterator, last, lastContext, names, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, onUnhandledChannelWritabilityChanged, onUnhandledInboundChannelActive, onUnhandledInboundChannelInactive, onUnhandledInboundChannelReadComplete, onUnhandledInboundMessage, onUnhandledInboundUserEventTriggered, read, remove, remove, remove, removeFirst, removeIfExists, removeIfExists, removeIfExists, removeLast, replace, replace, replace, toMap, toString, voidPromise, write, write, writeAndFlush, writeAndFlushMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
EmbeddedChannelPipeline
EmbeddedChannelPipeline(EmbeddedChannel channel)
-
-
Method Details
-
onUnhandledInboundException
Description copied from class:DefaultChannelPipelineCalled once aThrowablehit the end of theChannelPipelinewithout been handled by the user inChannelHandler.exceptionCaught(ChannelHandlerContext, Throwable).- Overrides:
onUnhandledInboundExceptionin classDefaultChannelPipeline
-
onUnhandledInboundMessage
Description copied from class:DefaultChannelPipelineCalled once a message hit the end of theChannelPipelinewithout been handled by the user inChannelInboundHandler.channelRead(ChannelHandlerContext, Object). This method is responsible to callReferenceCountUtil.release(Object)on the given msg at some point.- Overrides:
onUnhandledInboundMessagein classDefaultChannelPipeline
-