Package io.netty.channel
Class ChannelPromiseNotifier
- java.lang.Object
-
- io.netty.util.concurrent.PromiseNotifier<Void,ChannelFuture>
-
- io.netty.channel.ChannelPromiseNotifier
-
- All Implemented Interfaces:
ChannelFutureListener,io.netty.util.concurrent.GenericFutureListener<ChannelFuture>,EventListener
@Deprecated public final class ChannelPromiseNotifier extends io.netty.util.concurrent.PromiseNotifier<Void,ChannelFuture> implements ChannelFutureListener
Deprecated.usePromiseNotifier.ChannelFutureListener implementation which takes otherChannelPromise(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
Constructors Constructor Description ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises)Deprecated.Create a new instanceChannelPromiseNotifier(ChannelPromise... promises)Deprecated.Create a new instance
-
-
-
Constructor Detail
-
ChannelPromiseNotifier
public ChannelPromiseNotifier(ChannelPromise... promises)
Deprecated.Create a new instance- Parameters:
promises- theChannelPromises to notify once thisChannelFutureListeneris notified.
-
ChannelPromiseNotifier
public ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises)Deprecated.Create a new instance- Parameters:
logNotifyFailure-trueif logging should be done in case notification fails.promises- theChannelPromises to notify once thisChannelFutureListeneris notified.
-
-