public abstract class AbstractOioChannelSink extends AbstractChannelSink
| 构造器和说明 |
|---|
AbstractOioChannelSink() |
| 限定符和类型 | 方法和说明 |
|---|---|
ChannelFuture |
execute(ChannelPipeline pipeline,
java.lang.Runnable task)
This implementation just directly call
Runnable.run(). |
protected boolean |
isFireExceptionCaughtLater(ChannelEvent event,
java.lang.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, java.lang.Runnable task)
AbstractChannelSinkRunnable.run().
Sub-classes should override this if they can handle it in a better wayexecute 在接口中 ChannelSinkexecute 在类中 AbstractChannelSinkprotected boolean isFireExceptionCaughtLater(ChannelEvent event, java.lang.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 在类中 AbstractChannelSinkevent - the event which raised exceptionactualCause - the raised exception