Home / Class/ EpollSocketRstTest Class — netty Architecture

EpollSocketRstTest Class — netty Architecture

Architecture documentation for the EpollSocketRstTest class in EpollSocketRstTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2dfb7eb2_3faa_5856_a064_e669b248b786["EpollSocketRstTest"]
  a2bc7532_7118_4749_d9c6_c691b5816cb9["EpollSocketRstTest.java"]
  2dfb7eb2_3faa_5856_a064_e669b248b786 -->|defined in| a2bc7532_7118_4749_d9c6_c691b5816cb9
  35129a9e_27e3_8418_5f0d_91bc7f3bc553["newFactories()"]
  2dfb7eb2_3faa_5856_a064_e669b248b786 -->|method| 35129a9e_27e3_8418_5f0d_91bc7f3bc553
  bfe6ae74_0623_1622_ce5b_894dcab9a05a["assertRstOnCloseException()"]
  2dfb7eb2_3faa_5856_a064_e669b248b786 -->|method| bfe6ae74_0623_1622_ce5b_894dcab9a05a

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketRstTest.java lines 32–49

public class EpollSocketRstTest extends SocketRstTest {
    @Override
    protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() {
        return EpollSocketTestPermutation.INSTANCE.socketWithoutFastOpen();
    }

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

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

Frequently Asked Questions

What is the EpollSocketRstTest class?
EpollSocketRstTest is a class in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketRstTest.java.
Where is EpollSocketRstTest defined?
EpollSocketRstTest is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketRstTest.java at line 32.

Analyze Your Own Codebase

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

Try Supermodel Free