public interface ChannelFutureListener extends EventListener
ChannelFuture. The result of the asynchronous
ChannelI/O operation is notified once this listener is added by calling
operationComplete(ChannelFuture)is directly called by an I/O thread. Therefore, performing a time consuming task or a blocking operation in the handler method can cause an unexpected pause during I/O. If you need to perform a blocking operation on I/O completion, try to execute the operation in a different thread using a thread pool.
|Modifier and Type||Field and Description|
static final ChannelFutureListener CLOSE
static final ChannelFutureListener CLOSE_ON_FAILURE
Copyright © 2008-2015 The Netty Project. All Rights Reserved.