public final class ChannelPromiseNotifier extends PromiseNotifier<java.lang.Void,ChannelFuture> implements ChannelFutureListener
ChannelPromise(s) and notifies them on completion.CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE| Constructor and Description |
|---|
ChannelPromiseNotifier(boolean logNotifyFailure,
ChannelPromise... promises)
Create a new instance
|
ChannelPromiseNotifier(ChannelPromise... promises)
Create a new instance
|
operationCompleteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoperationCompletepublic ChannelPromiseNotifier(ChannelPromise... promises)
promises - the ChannelPromises to notify once this ChannelFutureListener is notified.public ChannelPromiseNotifier(boolean logNotifyFailure,
ChannelPromise... promises)
logNotifyFailure - true if logging should be done in case notification fails.promises - the ChannelPromises to notify once this ChannelFutureListener is notified.Copyright © 2008–2018 The Netty Project. All rights reserved.