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
|
public ChannelPromiseNotifier(ChannelPromise... promises)
promises - the ChannelPromises to notify once this ChannelFutureListener is notified.public void operationComplete(ChannelFuture cf) throws Exception
operationComplete in interface io.netty.util.concurrent.GenericFutureListener<ChannelFuture>ExceptionCopyright © 2008–2013 The Netty Project. All rights reserved.