ClosingChannelFutureListener Class — netty Architecture
Architecture documentation for the ClosingChannelFutureListener class in SpdySessionHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 58663cfe_3fca_2b04_1cd2_5ff1beee4885["ClosingChannelFutureListener"] f4d095fa_ab64_f79a_595e_5930c189e5a3["SpdySessionHandler.java"] 58663cfe_3fca_2b04_1cd2_5ff1beee4885 -->|defined in| f4d095fa_ab64_f79a_595e_5930c189e5a3 f0f21d03_8efd_2b0e_08f9_b5e9930c4460["ClosingChannelFutureListener()"] 58663cfe_3fca_2b04_1cd2_5ff1beee4885 -->|method| f0f21d03_8efd_2b0e_08f9_b5e9930c4460 5f9babd9_f414_2ab3_b20f_4d5b1a005f61["operationComplete()"] 58663cfe_3fca_2b04_1cd2_5ff1beee4885 -->|method| 5f9babd9_f414_2ab3_b20f_4d5b1a005f61
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java lines 827–840
private static final class ClosingChannelFutureListener implements ChannelFutureListener {
private final ChannelHandlerContext ctx;
private final ChannelPromise promise;
ClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise) {
this.ctx = ctx;
this.promise = promise;
}
@Override
public void operationComplete(ChannelFuture sentGoAwayFuture) throws Exception {
ctx.close(promise);
}
}
Source
Frequently Asked Questions
What is the ClosingChannelFutureListener class?
ClosingChannelFutureListener is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java.
Where is ClosingChannelFutureListener defined?
ClosingChannelFutureListener is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java at line 827.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free