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
|
operationComplete
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
operationComplete
public ChannelPromiseNotifier(ChannelPromise... promises)
promises
- the ChannelPromise
s 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 ChannelPromise
s to notify once this ChannelFutureListener
is notified.Copyright © 2008–2018 The Netty Project. All rights reserved.