Home / Function/ ChannelFuture() — netty Function Reference

ChannelFuture() — netty Function Reference

Architecture documentation for the ChannelFuture() function in SpdySessionHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5b7b5757_c9f6_e18a_ee5c_01f6ef4184c3["ChannelFuture()"]
  1fb79984_fd8e_cecc_3934_20ed3529f561["SpdySessionHandler"]
  5b7b5757_c9f6_e18a_ee5c_01f6ef4184c3 -->|defined in| 1fb79984_fd8e_cecc_3934_20ed3529f561
  df0c4d53_22d4_95b4_2fa2_49383daaf7ac["sendGoAwayFrame()"]
  5b7b5757_c9f6_e18a_ee5c_01f6ef4184c3 -->|calls| df0c4d53_22d4_95b4_2fa2_49383daaf7ac
  style 5b7b5757_c9f6_e18a_ee5c_01f6ef4184c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java lines 816–825

    private ChannelFuture sendGoAwayFrame(
            ChannelHandlerContext ctx, SpdySessionStatus status) {
        if (!sentGoAwayFrame) {
            sentGoAwayFrame = true;
            SpdyGoAwayFrame spdyGoAwayFrame = new DefaultSpdyGoAwayFrame(lastGoodStreamId, status);
            return ctx.writeAndFlush(spdyGoAwayFrame);
        } else {
            return ctx.newSucceededFuture();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does ChannelFuture() do?
ChannelFuture() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java.
Where is ChannelFuture() defined?
ChannelFuture() is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java at line 816.
What does ChannelFuture() call?
ChannelFuture() calls 1 function(s): sendGoAwayFrame.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free