Package io.netty.handler.codec.spdy
Class SpdySessionHandler.ClosingChannelFutureListener
- java.lang.Object
-
- io.netty.handler.codec.spdy.SpdySessionHandler.ClosingChannelFutureListener
-
- All Implemented Interfaces:
ChannelFutureListener
,GenericFutureListener<ChannelFuture>
,java.util.EventListener
- Enclosing class:
- SpdySessionHandler
private static final class SpdySessionHandler.ClosingChannelFutureListener extends java.lang.Object implements ChannelFutureListener
-
-
Field Summary
Fields Modifier and Type Field Description private ChannelHandlerContext
ctx
private ChannelPromise
promise
-
Fields inherited from interface io.netty.channel.ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
-
-
Constructor Summary
Constructors Constructor Description ClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
operationComplete(ChannelFuture sentGoAwayFuture)
Invoked when the operation associated with theFuture
has been completed.
-
-
-
Field Detail
-
ctx
private final ChannelHandlerContext ctx
-
promise
private final ChannelPromise promise
-
-
Constructor Detail
-
ClosingChannelFutureListener
ClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise)
-
-
Method Detail
-
operationComplete
public void operationComplete(ChannelFuture sentGoAwayFuture) throws java.lang.Exception
Description copied from interface:GenericFutureListener
Invoked when the operation associated with theFuture
has been completed.- Specified by:
operationComplete
in interfaceGenericFutureListener<ChannelFuture>
- Parameters:
sentGoAwayFuture
- the sourceFuture
which called this callback- Throws:
java.lang.Exception
-
-