Home / Function/ assertRstOnCloseException() — netty Function Reference

assertRstOnCloseException() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  58bc89ce_6012_f488_9d7d_862d8fa6e8ae["assertRstOnCloseException()"]
  059dd3dc_bab1_1125_208d_38042391d397["IoUringBufferRingSocketRstTest"]
  58bc89ce_6012_f488_9d7d_862d8fa6e8ae -->|defined in| 059dd3dc_bab1_1125_208d_38042391d397
  style 58bc89ce_6012_f488_9d7d_862d8fa6e8ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketRstTest.java lines 47–57

    @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/IoUringBufferRingSocketRstTest.java.
Where is assertRstOnCloseException() defined?
assertRstOnCloseException() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketRstTest.java at line 47.

Analyze Your Own Codebase

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

Try Supermodel Free