Home / Function/ QuicheQuicChannel() — netty Function Reference

QuicheQuicChannel() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3fd14bda_c2b1_f7ae_73d2_b81bfad6dafe["QuicheQuicChannel()"]
  26628c34_830c_3861_c08f_7bc985d595d7["QuicheQuicServerCodec"]
  3fd14bda_c2b1_f7ae_73d2_b81bfad6dafe -->|defined in| 26628c34_830c_3861_c08f_7bc985d595d7
  bf3e0984_0eaf_b19c_c6a6_0da0a3128681["writePacket()"]
  3fd14bda_c2b1_f7ae_73d2_b81bfad6dafe -->|calls| bf3e0984_0eaf_b19c_c6a6_0da0a3128681
  style 3fd14bda_c2b1_f7ae_73d2_b81bfad6dafe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicServerCodec.java lines 103–121

    @Override
    @Nullable
    protected QuicheQuicChannel quicPacketRead(ChannelHandlerContext ctx, InetSocketAddress sender,
                                               InetSocketAddress recipient, QuicPacketType type, long version,
                                               ByteBuf scid, ByteBuf dcid, ByteBuf token,
                                               ByteBuf senderSockaddrMemory, ByteBuf recipientSockaddrMemory,
                                               Consumer<QuicheQuicChannel> freeTask, int localConnIdLength,
                                               QuicheConfig config)
            throws Exception {
        ByteBuffer dcidByteBuffer = dcid.internalNioBuffer(dcid.readerIndex(), dcid.readableBytes());
        QuicheQuicChannel channel = getChannel(dcidByteBuffer);
        if (channel == null && type == QuicPacketType.INITIAL) {
            // We only want to possibility create a new QuicChannel if this is the initial packet, otherwise
            // drop the packet on the floor if we did not find a mapping before.
            return handleServer(ctx, sender, recipient, type, version, scid, dcid, token,
                    senderSockaddrMemory, recipientSockaddrMemory, freeTask, localConnIdLength, config);
        }
        return channel;
    }

Domain

Subdomains

Frequently Asked Questions

What does QuicheQuicChannel() do?
QuicheQuicChannel() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicServerCodec.java.
Where is QuicheQuicChannel() defined?
QuicheQuicChannel() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicServerCodec.java at line 103.
What does QuicheQuicChannel() call?
QuicheQuicChannel() calls 1 function(s): writePacket.

Analyze Your Own Codebase

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

Try Supermodel Free