Home / Function/ newFactories() — netty Function Reference

newFactories() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d71a34a1_533f_8a84_c4f2_528af3de6d45["newFactories()"]
  cec5ab39_3b45_79d9_36d1_e0de33b63ea7["EpollSocketStringEchoBusyWaitTest"]
  d71a34a1_533f_8a84_c4f2_528af3de6d45 -->|defined in| cec5ab39_3b45_79d9_36d1_e0de33b63ea7
  493c3a1e_25b5_33a7_58cb_19c8f3fbdc15["serverSocket()"]
  d71a34a1_533f_8a84_c4f2_528af3de6d45 -->|calls| 493c3a1e_25b5_33a7_58cb_19c8f3fbdc15
  c3eb0bd3_7c34_b365_c681_dab4a2d29da2["clientSocket()"]
  d71a34a1_533f_8a84_c4f2_528af3de6d45 -->|calls| c3eb0bd3_7c34_b365_c681_dab4a2d29da2
  style d71a34a1_533f_8a84_c4f2_528af3de6d45 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketStringEchoBusyWaitTest.java lines 63–82

    @Override
    protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() {
        List<BootstrapComboFactory<ServerBootstrap, Bootstrap>> list =
                new ArrayList<BootstrapComboFactory<ServerBootstrap, Bootstrap>>();
        final BootstrapFactory<ServerBootstrap> sbf = serverSocket();
        final BootstrapFactory<Bootstrap> cbf = clientSocket();
        list.add(new BootstrapComboFactory<ServerBootstrap, Bootstrap>() {
            @Override
            public ServerBootstrap newServerInstance() {
                return sbf.newInstance();
            }

            @Override
            public Bootstrap newClientInstance() {
                return cbf.newInstance();
            }
        });

        return list;
    }

Domain

Subdomains

Frequently Asked Questions

What does newFactories() do?
newFactories() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketStringEchoBusyWaitTest.java.
Where is newFactories() defined?
newFactories() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketStringEchoBusyWaitTest.java at line 63.
What does newFactories() call?
newFactories() calls 2 function(s): clientSocket, serverSocket.

Analyze Your Own Codebase

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

Try Supermodel Free