Class ChannelPromiseNotifier
java.lang.Object
io.netty.util.concurrent.PromiseNotifier<Void, ChannelFuture>
io.netty.channel.ChannelPromiseNotifier
- All Implemented Interfaces:
ChannelFutureListener, GenericFutureListener<ChannelFuture>, EventListener
@Deprecated
public final class ChannelPromiseNotifier
extends PromiseNotifier<Void, ChannelFuture>
implements ChannelFutureListener
Deprecated.
ChannelFutureListener implementation which takes other
ChannelPromise(s) and notifies them on completion.-
Field Summary
Fields inherited from interface ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE -
Constructor Summary
ConstructorsConstructorDescriptionChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises) Deprecated.Create a new instanceChannelPromiseNotifier(ChannelPromise... promises) Deprecated.Create a new instance -
Method Summary
Methods inherited from class PromiseNotifier
cascade, cascade, operationCompleteMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GenericFutureListener
operationComplete
-
Constructor Details
-
ChannelPromiseNotifier
Deprecated.Create a new instance- Parameters:
promises- theChannelPromises to notify once thisChannelFutureListeneris notified.
-
ChannelPromiseNotifier
Deprecated.Create a new instance- Parameters:
logNotifyFailure-trueif logging should be done in case notification fails.promises- theChannelPromises to notify once thisChannelFutureListeneris notified.
-
PromiseNotifier.