Home / Function/ ChannelFuture() — netty Function Reference

ChannelFuture() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a43076f3_7682_6ea4_b75e_e2b546584dd5["ChannelFuture()"]
  95e61221_4cd7_7cb2_42da_fdc002019d19["EmbeddedQuicChannel"]
  a43076f3_7682_6ea4_b75e_e2b546584dd5 -->|defined in| 95e61221_4cd7_7cb2_42da_fdc002019d19
  style a43076f3_7682_6ea4_b75e_e2b546584dd5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/EmbeddedQuicChannel.java lines 171–180

    @Override
    public ChannelFuture close(boolean applicationClose, int error, ByteBuf reason, ChannelPromise promise) {
        closeErrorCodes.add(error);
        if (closed.compareAndSet(false, true)) {
            promise.addListener(__ -> reason.release());
        } else {
            reason.release();
        }
        return close(promise);
    }

Domain

Subdomains

Frequently Asked Questions

What does ChannelFuture() do?
ChannelFuture() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/EmbeddedQuicChannel.java.
Where is ChannelFuture() defined?
ChannelFuture() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/EmbeddedQuicChannel.java at line 171.

Analyze Your Own Codebase

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

Try Supermodel Free