Home / Function/ newFactories() — netty Function Reference

newFactories() — netty Function Reference

Architecture documentation for the newFactories() function in SocketMultipleConnectTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f3314095_c1b7_b3d1_f21c_b5cc1e8db6ec["newFactories()"]
  d8bf61f8_e741_679a_49cc_e3114c0c0307["SocketMultipleConnectTest"]
  f3314095_c1b7_b3d1_f21c_b5cc1e8db6ec -->|defined in| d8bf61f8_e741_679a_49cc_e3114c0c0307
  style f3314095_c1b7_b3d1_f21c_b5cc1e8db6ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketMultipleConnectTest.java lines 74–86

    @Override
    protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() {
        List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> factories
                = new ArrayList<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>>();
        for (TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap> comboFactory
                : SocketTestPermutation.INSTANCE.socketWithFastOpen()) {
            EventLoopGroup group = comboFactory.newClientInstance().config().group();
            if (group instanceof IoEventLoopGroup && ((IoEventLoopGroup) group).isIoType(NioIoHandler.class)) {
                factories.add(comboFactory);
            }
        }
        return factories;
    }

Domain

Subdomains

Frequently Asked Questions

What does newFactories() do?
newFactories() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketMultipleConnectTest.java.
Where is newFactories() defined?
newFactories() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketMultipleConnectTest.java at line 74.

Analyze Your Own Codebase

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

Try Supermodel Free