Home / Function/ recvComplete() — netty Function Reference

recvComplete() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e4b070d8_c231_2cda_729f_8ae2ee2a55c0["recvComplete()"]
  3c534d05_bb5b_c991_5e03_7ec94e739cf7["QuicheQuicChannel"]
  e4b070d8_c231_2cda_729f_8ae2ee2a55c0 -->|defined in| 3c534d05_bb5b_c991_5e03_7ec94e739cf7
  d21171a6_3135_05f4_7ac2_3fd3258ddab8["forceFlushParent()"]
  e4b070d8_c231_2cda_729f_8ae2ee2a55c0 -->|calls| d21171a6_3135_05f4_7ac2_3fd3258ddab8
  3dcfc37a_37ed_432a_46ba_dfae500fd8f0["fireChannelReadCompleteIfNeeded()"]
  e4b070d8_c231_2cda_729f_8ae2ee2a55c0 -->|calls| 3dcfc37a_37ed_432a_46ba_dfae500fd8f0
  02598212_7f8b_2f50_b095_37e1e52dcf04["freeIfClosed()"]
  e4b070d8_c231_2cda_729f_8ae2ee2a55c0 -->|calls| 02598212_7f8b_2f50_b095_37e1e52dcf04
  style e4b070d8_c231_2cda_729f_8ae2ee2a55c0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java lines 1131–1151

    void recvComplete() {
        try {
            QuicheQuicConnection conn = connection;
            if (conn.isFreed()) {
                // Ensure we flush all pending writes.
                forceFlushParent();
                return;
            }
            fireChannelReadCompleteIfNeeded();

            // If we had called recv we need to ensure we call send as well.
            // See https://docs.rs/quiche/0.6.0/quiche/struct.Connection.html#method.send
            connectionSend(conn);

            // We are done with the read loop, flush all pending writes now.
            forceFlushParent();
            freeIfClosed();
        } finally {
            inFireChannelReadCompleteQueue = false;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does recvComplete() do?
recvComplete() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java.
Where is recvComplete() defined?
recvComplete() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java at line 1131.
What does recvComplete() call?
recvComplete() calls 3 function(s): fireChannelReadCompleteIfNeeded, forceFlushParent, freeIfClosed.

Analyze Your Own Codebase

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

Try Supermodel Free