public final class ChannelPromiseNotifier extends Object implements ChannelFutureListener
ChannelFuture(s) and notifies them on completion.CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE| Constructor and Description |
|---|
ChannelPromiseNotifier(ChannelPromise... promises)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
operationComplete(ChannelFuture cf)
Invoked when the operation associated with the
Future has been completed. |
public ChannelPromiseNotifier(ChannelPromise... promises)
promises - the ChannelPromises to notify once this ChannelFutureListener is notified.public void operationComplete(ChannelFuture cf) throws Exception
GenericFutureListenerFuture has been completed.operationComplete in interface GenericFutureListener<ChannelFuture>cf - the source Future which called this callbackExceptionCopyright © 2008–2014 The Netty Project. All rights reserved.