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 ChannelPromise
s to notify once this ChannelFutureListener
is notified.public void operationComplete(ChannelFuture cf) throws Exception
GenericFutureListener
Future
has been completed.operationComplete
in interface GenericFutureListener<ChannelFuture>
cf
- the source Future
which called this callbackException
Copyright © 2008–2014 The Netty Project. All rights reserved.