
public abstract class AbstractOioChannelSink extends AbstractChannelSink
| Constructor and Description |
|---|
AbstractOioChannelSink() |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
execute(ChannelPipeline pipeline,
Runnable task)
This implementation just directly call
Runnable.run(). |
protected boolean |
isFireExceptionCaughtLater(ChannelEvent event,
Throwable actualCause)
Returns
true if and only if the specified actualCause, which was raised while
handling the specified event, must trigger an exceptionCaught() event in
an I/O thread. |
exceptionCaughtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteventSunkpublic ChannelFuture execute(ChannelPipeline pipeline, Runnable task)
AbstractChannelSinkRunnable.run().
Sub-classes should override this if they can handle it in a better wayexecute in interface ChannelSinkexecute in class AbstractChannelSinkprotected boolean isFireExceptionCaughtLater(ChannelEvent event, Throwable actualCause)
AbstractChannelSinktrue if and only if the specified actualCause, which was raised while
handling the specified event, must trigger an exceptionCaught() event in
an I/O thread.isFireExceptionCaughtLater in class AbstractChannelSinkevent - the event which raised exceptionactualCause - the raised exceptionCopyright © 2008-2014 The Netty Project. All Rights Reserved.