Home / Class/ CloseData Class — netty Architecture

CloseData Class — netty Architecture

Architecture documentation for the CloseData class in QuicheQuicChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  484dcdcf_16b6_9a67_b0e8_1cd9c98962c5["CloseData"]
  e2af940f_f48c_60ab_e67f_c3708214d676["QuicheQuicChannel.java"]
  484dcdcf_16b6_9a67_b0e8_1cd9c98962c5 -->|defined in| e2af940f_f48c_60ab_e67f_c3708214d676
  49a7a159_9313_a1e5_de47_c0142bce46e3["CloseData()"]
  484dcdcf_16b6_9a67_b0e8_1cd9c98962c5 -->|method| 49a7a159_9313_a1e5_de47_c0142bce46e3
  0b4c0032_f4a0_a3aa_b82a_b695cc69de26["operationComplete()"]
  484dcdcf_16b6_9a67_b0e8_1cd9c98962c5 -->|method| 0b4c0032_f4a0_a3aa_b82a_b695cc69de26

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java lines 108–123

    private static final class CloseData implements ChannelFutureListener {
        final boolean applicationClose;
        final int err;
        final ByteBuf reason;

        CloseData(boolean applicationClose, int err, ByteBuf reason) {
            this.applicationClose = applicationClose;
            this.err = err;
            this.reason = reason;
        }

        @Override
        public void operationComplete(ChannelFuture future) {
            reason.release();
        }
    }

Frequently Asked Questions

What is the CloseData class?
CloseData is a class in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java.
Where is CloseData defined?
CloseData is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java at line 108.

Analyze Your Own Codebase

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

Try Supermodel Free