Home / Function/ socketWithFastOpen() — netty Function Reference

socketWithFastOpen() — netty Function Reference

Architecture documentation for the socketWithFastOpen() function in SocketTestPermutation.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e375456a_bf0f_2c10_aae7_ea3b93f273e9["socketWithFastOpen()"]
  d1a88829_0f4e_903e_71ca_619ab445cd85["SocketTestPermutation"]
  e375456a_bf0f_2c10_aae7_ea3b93f273e9 -->|defined in| d1a88829_0f4e_903e_71ca_619ab445cd85
  5d76dd4b_2186_fbb9_d8f4_2e00853f4290["serverSocket()"]
  e375456a_bf0f_2c10_aae7_ea3b93f273e9 -->|calls| 5d76dd4b_2186_fbb9_d8f4_2e00853f4290
  395a2524_301e_c941_89b8_34fe584ef056["clientSocketWithFastOpen()"]
  e375456a_bf0f_2c10_aae7_ea3b93f273e9 -->|calls| 395a2524_301e_c941_89b8_34fe584ef056
  36e01be4_f343_d92c_9462_5b05616da59e["combo()"]
  e375456a_bf0f_2c10_aae7_ea3b93f273e9 -->|calls| 36e01be4_f343_d92c_9462_5b05616da59e
  style e375456a_bf0f_2c10_aae7_ea3b93f273e9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java lines 117–133

    public List<BootstrapComboFactory<ServerBootstrap, Bootstrap>> socketWithFastOpen() {
        // Make the list of ServerBootstrap factories.
        List<BootstrapFactory<ServerBootstrap>> sbfs = serverSocket();

        // Make the list of Bootstrap factories.
        List<BootstrapFactory<Bootstrap>> cbfs = clientSocketWithFastOpen();

        // Populate the combinations
        List<BootstrapComboFactory<ServerBootstrap, Bootstrap>> list = combo(sbfs, cbfs);

        if (INCLUDE_OIO) {
            // Remove the OIO-OIO case which often leads to a dead lock by its nature.
            list.remove(list.size() - 1);
        }

        return list;
    }

Domain

Subdomains

Frequently Asked Questions

What does socketWithFastOpen() do?
socketWithFastOpen() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java.
Where is socketWithFastOpen() defined?
socketWithFastOpen() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java at line 117.
What does socketWithFastOpen() call?
socketWithFastOpen() calls 3 function(s): clientSocketWithFastOpen, combo, serverSocket.

Analyze Your Own Codebase

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

Try Supermodel Free