Package io.netty.channel
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 io.netty.channel.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 io.netty.util.concurrent.PromiseNotifier
cascade, cascade, operationCompleteMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.util.concurrent.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.