public abstract class AbstractNioChannelSink extends AbstractChannelSink
Constructor and Description |
---|
AbstractNioChannelSink() |
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. |
exceptionCaught
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eventSunk
public ChannelFuture execute(ChannelPipeline pipeline, Runnable task)
AbstractChannelSink
Runnable.run()
.
Sub-classes should override this if they can handle it in a better wayexecute
in interface ChannelSink
execute
in class AbstractChannelSink
protected boolean isFireExceptionCaughtLater(ChannelEvent event, 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
in class AbstractChannelSink
event
- the event which raised exceptionactualCause
- the raised exceptionCopyright © 2008-2015 The Netty Project. All Rights Reserved.