public final class ChannelPromiseAggregator extends Object implements ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE| Constructor and Description |
|---|
ChannelPromiseAggregator(ChannelPromise aggregatePromise)
Instance an new
ChannelPromiseAggregator |
| Modifier and Type | Method and Description |
|---|---|
ChannelPromiseAggregator |
add(ChannelPromise... promises)
Add the given
ChannelPromises to the aggregator. |
void |
operationComplete(ChannelFuture future) |
public ChannelPromiseAggregator(ChannelPromise aggregatePromise)
ChannelPromiseAggregatoraggregatePromise - the ChannelPromise to notifypublic ChannelPromiseAggregator add(ChannelPromise... promises)
ChannelPromises to the aggregator.public void operationComplete(ChannelFuture future) throws Exception
operationComplete in interface io.netty.util.concurrent.GenericFutureListener<ChannelFuture>ExceptionCopyright © 2008–2013 The Netty Project. All rights reserved.