Class DefaultChannelPipeline.DiscardingChannelSink
java.lang.Object
org.jboss.netty.channel.DefaultChannelPipeline.DiscardingChannelSink
- All Implemented Interfaces:
ChannelSink
- Enclosing class:
DefaultChannelPipeline
private static final class DefaultChannelPipeline.DiscardingChannelSink
extends Object
implements ChannelSink
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoideventSunk(ChannelPipeline pipeline, ChannelEvent e) Invoked byChannelPipelinewhen a downstreamChannelEventhas reached its terminal (the head of the pipeline).voidexceptionCaught(ChannelPipeline pipeline, ChannelEvent e, ChannelPipelineException cause) Invoked byChannelPipelinewhen an exception was raised while one of itsChannelHandlers process aChannelEvent.execute(ChannelPipeline pipeline, Runnable task) Execute the givenRunnablelater in the io-thread.
-
Constructor Details
-
DiscardingChannelSink
DiscardingChannelSink()
-
-
Method Details
-
eventSunk
Description copied from interface:ChannelSinkInvoked byChannelPipelinewhen a downstreamChannelEventhas reached its terminal (the head of the pipeline).- Specified by:
eventSunkin interfaceChannelSink
-
exceptionCaught
public void exceptionCaught(ChannelPipeline pipeline, ChannelEvent e, ChannelPipelineException cause) throws Exception Description copied from interface:ChannelSinkInvoked byChannelPipelinewhen an exception was raised while one of itsChannelHandlers process aChannelEvent.- Specified by:
exceptionCaughtin interfaceChannelSink- Throws:
Exception
-
execute
Description copied from interface:ChannelSinkExecute the givenRunnablelater in the io-thread. Some implementation may not support this and just execute it directly.- Specified by:
executein interfaceChannelSink
-