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, operationComplete
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.util.concurrent.GenericFutureListener
operationComplete
-
Constructor Details
-
ChannelPromiseNotifier
Deprecated.Create a new instance- Parameters:
promises
- theChannelPromise
s to notify once thisChannelFutureListener
is notified.
-
ChannelPromiseNotifier
Deprecated.Create a new instance- Parameters:
logNotifyFailure
-true
if logging should be done in case notification fails.promises
- theChannelPromise
s to notify once thisChannelFutureListener
is notified.
-
PromiseNotifier
.