PromiseNotifier
.@Deprecated public final class ChannelPromiseNotifier extends PromiseNotifier<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)
Deprecated.
Create a new instance
|
ChannelPromiseNotifier(ChannelPromise... promises)
Deprecated.
Create a new instance
|
cascade, cascade, 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–2024 The Netty Project. All rights reserved.