Home / Function/ assertRstOnCloseException() — netty Function Reference

assertRstOnCloseException() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  025b74b4_1ea9_44e7_2f85_08bf339e3fae["assertRstOnCloseException()"]
  0c83b3f6_78d4_0e02_e07e_bf7928b4f121["IoUringSocketRstTest"]
  025b74b4_1ea9_44e7_2f85_08bf339e3fae -->|defined in| 0c83b3f6_78d4_0e02_e07e_bf7928b4f121
  style 025b74b4_1ea9_44e7_2f85_08bf339e3fae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketRstTest.java lines 45–55

    @Override
    protected void assertRstOnCloseException(IOException cause, Channel clientChannel) {
        if (!AbstractIoUringChannel.class.isInstance(clientChannel)) {
            super.assertRstOnCloseException(cause, clientChannel);
            return;
        }

        assertTrue(cause instanceof Errors.NativeIoException,
                "actual [type, message]: [" + cause.getClass() + ", " + cause.getMessage() + ']');
        assertEquals(Errors.ERRNO_ECONNRESET_NEGATIVE, ((Errors.NativeIoException) cause).expectedErr());
    }

Domain

Subdomains

Frequently Asked Questions

What does assertRstOnCloseException() do?
assertRstOnCloseException() is a function in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketRstTest.java.
Where is assertRstOnCloseException() defined?
assertRstOnCloseException() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketRstTest.java at line 45.

Analyze Your Own Codebase

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

Try Supermodel Free