Home / Function/ QuicheQuicConnection() — netty Function Reference

QuicheQuicConnection() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6cedffba_b076_8dcf_61e5_4331496a5fc8["QuicheQuicConnection()"]
  5f5b6955_ffea_5ec8_42dd_bd49352d4bbc["QuicheQuicConnection"]
  6cedffba_b076_8dcf_61e5_4331496a5fc8 -->|defined in| 5f5b6955_ffea_5ec8_42dd_bd49352d4bbc
  style 6cedffba_b076_8dcf_61e5_4331496a5fc8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicConnection.java lines 62–81

    QuicheQuicConnection(long connection, long ssl, QuicheQuicSslEngine engine, ReferenceCounted refCnt) {
        assert connection != -1;
        this.connection = connection;
        this.ssl = ssl;
        this.engine = engine;
        this.refCnt = refCnt;
        // TODO: Maybe cache these per thread as we only use them temporary within a limited scope.
        recvInfoBuffer = Quiche.allocateNativeOrder(TOTAL_RECV_INFO_SIZE);
        sendInfoBuffer = Quiche.allocateNativeOrder(2 * Quiche.SIZEOF_QUICHE_SEND_INFO);

        // Let's memset the memory.
        recvInfoBuffer.setZero(0, recvInfoBuffer.capacity());
        sendInfoBuffer.setZero(0, sendInfoBuffer.capacity());

        recvInfoBuffer1 = recvInfoBuffer.nioBuffer(0, TOTAL_RECV_INFO_SIZE);
        sendInfoBuffer1 = sendInfoBuffer.nioBuffer(0, Quiche.SIZEOF_QUICHE_SEND_INFO);
        sendInfoBuffer2 = sendInfoBuffer.nioBuffer(Quiche.SIZEOF_QUICHE_SEND_INFO, Quiche.SIZEOF_QUICHE_SEND_INFO);
        this.engine.connection = this;
        leakTracker = leakDetector.track(this);
    }

Domain

Subdomains

Frequently Asked Questions

What does QuicheQuicConnection() do?
QuicheQuicConnection() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicConnection.java.
Where is QuicheQuicConnection() defined?
QuicheQuicConnection() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicConnection.java at line 62.

Analyze Your Own Codebase

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

Try Supermodel Free