public abstract class AbstractNioChannelSink extends AbstractChannelSink
构造器和说明 |
---|
AbstractNioChannelSink() |
限定符和类型 | 方法和说明 |
---|---|
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. |
exceptionCaught
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eventSunk
public ChannelFuture execute(ChannelPipeline pipeline, java.lang.Runnable task)
AbstractChannelSink
Runnable.run()
.
Sub-classes should override this if they can handle it in a better wayexecute
在接口中 ChannelSink
execute
在类中 AbstractChannelSink
protected boolean isFireExceptionCaughtLater(ChannelEvent event, java.lang.Throwable actualCause)
AbstractChannelSink
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.isFireExceptionCaughtLater
在类中 AbstractChannelSink
event
- the event which raised exceptionactualCause
- the raised exception