Class AbstractOioChannelSink
java.lang.Object
org.jboss.netty.channel.AbstractChannelSink
org.jboss.netty.channel.socket.oio.AbstractOioChannelSink
- All Implemented Interfaces:
ChannelSink
- Direct Known Subclasses:
OioClientSocketPipelineSink
,OioDatagramPipelineSink
,OioServerSocketPipelineSink
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(ChannelPipeline pipeline, Runnable task) This implementation just directly callRunnable.run()
.protected boolean
isFireExceptionCaughtLater
(ChannelEvent event, Throwable actualCause) Returnstrue
if and only if the specifiedactualCause
, which was raised while handling the specifiedevent
, must trigger anexceptionCaught()
event in an I/O thread.Methods inherited from class org.jboss.netty.channel.AbstractChannelSink
exceptionCaught
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.netty.channel.ChannelSink
eventSunk
-
Constructor Details
-
AbstractOioChannelSink
public AbstractOioChannelSink()
-
-
Method Details
-
execute
Description copied from class:AbstractChannelSink
This implementation just directly callRunnable.run()
. Sub-classes should override this if they can handle it in a better way- Specified by:
execute
in interfaceChannelSink
- Overrides:
execute
in classAbstractChannelSink
-
isFireExceptionCaughtLater
Description copied from class:AbstractChannelSink
Returnstrue
if and only if the specifiedactualCause
, which was raised while handling the specifiedevent
, must trigger anexceptionCaught()
event in an I/O thread.- Overrides:
isFireExceptionCaughtLater
in classAbstractChannelSink
- Parameters:
event
- the event which raised exceptionactualCause
- the raised exception
-