public interface ChannelSink
ChannelEvent
s.
A ChannelSink
is an internal component which is supposed to be
implemented by a transport provider. Most users will not see this type
in their code.
Modifier and Type | Method and Description |
---|---|
void |
eventSunk(ChannelPipeline pipeline,
ChannelEvent e)
Invoked by
ChannelPipeline when a downstream ChannelEvent
has reached its terminal (the head of the pipeline). |
void |
exceptionCaught(ChannelPipeline pipeline,
ChannelEvent e,
ChannelPipelineException cause)
Invoked by
ChannelPipeline when an exception was raised while
one of its ChannelHandler s process a ChannelEvent . |
void eventSunk(ChannelPipeline pipeline, ChannelEvent e) throws Exception
ChannelPipeline
when a downstream ChannelEvent
has reached its terminal (the head of the pipeline).Exception
void exceptionCaught(ChannelPipeline pipeline, ChannelEvent e, ChannelPipelineException cause) throws Exception
ChannelPipeline
when an exception was raised while
one of its ChannelHandler
s process a ChannelEvent
.Exception
Copyright © 2008-2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.