Home / Function/ assertState() — netty Function Reference

assertState() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5a96c979_0fca_e08f_a05d_ec69eaa7699e["assertState()"]
  858f6594_9114_78cb_d9e8_4624d5776ed3["QuicChannelValidationHandler"]
  5a96c979_0fca_e08f_a05d_ec69eaa7699e -->|defined in| 858f6594_9114_78cb_d9e8_4624d5776ed3
  style 5a96c979_0fca_e08f_a05d_ec69eaa7699e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelValidationHandler.java lines 51–60

    void assertState() throws Throwable {
        if (cause != null) {
            throw cause;
        }
        if (wasActive) {
            // Validate that the addresses could be retrieved
            assertNotNull(localAddress);
            assertNotNull(remoteAddress);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does assertState() do?
assertState() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelValidationHandler.java.
Where is assertState() defined?
assertState() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelValidationHandler.java at line 51.

Analyze Your Own Codebase

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

Try Supermodel Free