private static final class SpdySessionHandler.ClosingChannelFutureListener extends java.lang.Object implements ChannelFutureListener
Modifier and Type | Field and Description |
---|---|
private ChannelHandlerContext |
ctx |
private ChannelPromise |
promise |
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
Constructor and Description |
---|
ClosingChannelFutureListener(ChannelHandlerContext ctx,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
operationComplete(ChannelFuture sentGoAwayFuture)
Invoked when the operation associated with the
Future has been completed. |
private final ChannelHandlerContext ctx
private final ChannelPromise promise
ClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise)
public void operationComplete(ChannelFuture sentGoAwayFuture) throws java.lang.Exception
GenericFutureListener
Future
has been completed.operationComplete
in interface GenericFutureListener<ChannelFuture>
sentGoAwayFuture
- the source Future
which called this callbackjava.lang.Exception