Home / Function/ VoidChannelPromise() — netty Function Reference

VoidChannelPromise() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  7f46c778_a65f_b4ac_ccff_beb25a17d3dd["VoidChannelPromise()"]
  44e86ceb_e692_7fc6_cdba_7e250d0f3ad5["VoidChannelPromise"]
  7f46c778_a65f_b4ac_ccff_beb25a17d3dd -->|defined in| 44e86ceb_e692_7fc6_cdba_7e250d0f3ad5
  912299bb_6433_da4a_97d2_ccba3117d3e9["fireException0()"]
  7f46c778_a65f_b4ac_ccff_beb25a17d3dd -->|calls| 912299bb_6433_da4a_97d2_ccba3117d3e9
  d9ea77ad_4d28_08aa_2f9e_325b66d31962["fail()"]
  7f46c778_a65f_b4ac_ccff_beb25a17d3dd -->|calls| d9ea77ad_4d28_08aa_2f9e_325b66d31962
  cb3ccf50_59c7_8a88_68f3_0fab573a50ae["await()"]
  7f46c778_a65f_b4ac_ccff_beb25a17d3dd -->|calls| cb3ccf50_59c7_8a88_68f3_0fab573a50ae
  76fc71a7_f03d_010e_1743_2465f33c3dce["awaitUninterruptibly()"]
  7f46c778_a65f_b4ac_ccff_beb25a17d3dd -->|calls| 76fc71a7_f03d_010e_1743_2465f33c3dce
  style 7f46c778_a65f_b4ac_ccff_beb25a17d3dd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/VoidChannelPromise.java lines 38–54

    public VoidChannelPromise(final Channel channel, boolean fireException) {
        ObjectUtil.checkNotNull(channel, "channel");
        this.channel = channel;
        if (fireException) {
            fireExceptionListener = new ChannelFutureListener() {
                @Override
                public void operationComplete(ChannelFuture future) throws Exception {
                    Throwable cause = future.cause();
                    if (cause != null) {
                        fireException0(cause);
                    }
                }
            };
        } else {
            fireExceptionListener = null;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does VoidChannelPromise() do?
VoidChannelPromise() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/VoidChannelPromise.java.
Where is VoidChannelPromise() defined?
VoidChannelPromise() is defined in transport/src/main/java/io/netty/channel/VoidChannelPromise.java at line 38.
What does VoidChannelPromise() call?
VoidChannelPromise() calls 4 function(s): await, awaitUninterruptibly, fail, fireException0.

Analyze Your Own Codebase

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

Try Supermodel Free