Home / Type/ QuicHeaderProcessor Type — netty Architecture

QuicHeaderProcessor Type — netty Architecture

Architecture documentation for the QuicHeaderProcessor type/interface in QuicHeaderParser.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ec9e980c_ef3a_7a47_59cd_3cb5b34f50b6["QuicHeaderProcessor"]
  48dc0c48_28d2_f3d9_6142_f65005c57f3a["QuicHeaderParser.java"]
  ec9e980c_ef3a_7a47_59cd_3cb5b34f50b6 -->|defined in| 48dc0c48_28d2_f3d9_6142_f65005c57f3a
  style ec9e980c_ef3a_7a47_59cd_3cb5b34f50b6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicHeaderParser.java lines 263–286

    public interface QuicHeaderProcessor {

        /**
         * Called when a QUIC packet header was parsed.
         *
         * @param sender        the sender of the QUIC packet.
         * @param recipient     the recipient of the QUIC packet.
         * @param packet        the raw QUIC packet. The ownership is not transferred, which means you will need to call
         *                      {@link ByteBuf#retain()} on it if you want to keep a reference after this method
         *                      returns.
         * @param type          the type of the packet.
         * @param version       the version of the packet.
         * @param scid          the source connection id. The ownership is not transferred and its generally not allowed
         *                      to hold any references to this buffer outside of the method as it will be re-used.
         * @param dcid          the destination connection id. The ownership is not transferred and its generally not
         *                      allowed to hold any references to this buffer outside of the method as it will be
         *                      re-used.
         * @param token         the token.The ownership is not transferred and its generally not allowed
         *                      to hold any references to this buffer outside of the method as it will be re-used.
         * @throws Exception    throws if an error happens during processing.
         */
        void process(InetSocketAddress sender, InetSocketAddress recipient, ByteBuf packet,
                     QuicPacketType type, long version, ByteBuf scid, ByteBuf dcid, ByteBuf token) throws Exception;
    }

Frequently Asked Questions

What is the QuicHeaderProcessor type?
QuicHeaderProcessor is a type/interface in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicHeaderParser.java.
Where is QuicHeaderProcessor defined?
QuicHeaderProcessor is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicHeaderParser.java at line 263.

Analyze Your Own Codebase

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

Try Supermodel Free