Home / Function/ closeIfDone() — netty Function Reference

closeIfDone() — netty Function Reference

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

Function java Buffer Allocators calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  860d77ee_151e_f1cf_829e_15a8d2aac53c["closeIfDone()"]
  12c209e0_2392_3384_a39f_2a0649fbd28b["QuicheQuicStreamChannel"]
  860d77ee_151e_f1cf_829e_15a8d2aac53c -->|defined in| 12c209e0_2392_3384_a39f_2a0649fbd28b
  cd8a53eb_7dc1_31ac_4939_0f5c40d1fe33["shutdownInput0()"]
  cd8a53eb_7dc1_31ac_4939_0f5c40d1fe33 -->|calls| 860d77ee_151e_f1cf_829e_15a8d2aac53c
  1bfd22cf_ed33_9f74_5cb7_ed0890bb6f50["shutdownOutput0()"]
  1bfd22cf_ed33_9f74_5cb7_ed0890bb6f50 -->|calls| 860d77ee_151e_f1cf_829e_15a8d2aac53c
  b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3["shutdown0()"]
  b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3 -->|calls| 860d77ee_151e_f1cf_829e_15a8d2aac53c
  a249dbfa_942d_d16e_c8eb_e99a04ab68ce["isLocalCreated()"]
  860d77ee_151e_f1cf_829e_15a8d2aac53c -->|calls| a249dbfa_942d_d16e_c8eb_e99a04ab68ce
  1123715f_0f63_323f_9bab_77f6d3c50fff["close()"]
  860d77ee_151e_f1cf_829e_15a8d2aac53c -->|calls| 1123715f_0f63_323f_9bab_77f6d3c50fff
  style 860d77ee_151e_f1cf_829e_15a8d2aac53c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java lines 284–288

    private void closeIfDone() {
        if (finSent && (finReceived || type() == QuicStreamType.UNIDIRECTIONAL && isLocalCreated())) {
            unsafe().close(unsafe().voidPromise());
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does closeIfDone() do?
closeIfDone() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java.
Where is closeIfDone() defined?
closeIfDone() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java at line 284.
What does closeIfDone() call?
closeIfDone() calls 2 function(s): close, isLocalCreated.
What calls closeIfDone()?
closeIfDone() is called by 3 function(s): shutdown0, shutdownInput0, shutdownOutput0.

Analyze Your Own Codebase

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

Try Supermodel Free