Home / Function/ socket() — netty Function Reference

socket() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245["socket()"]
  d1a88829_0f4e_903e_71ca_619ab445cd85["SocketTestPermutation"]
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245 -->|defined in| d1a88829_0f4e_903e_71ca_619ab445cd85
  5d76dd4b_2186_fbb9_d8f4_2e00853f4290["serverSocket()"]
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245 -->|calls| 5d76dd4b_2186_fbb9_d8f4_2e00853f4290
  ec452b79_ce61_9d68_8d89_e966050523c3["clientSocket()"]
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245 -->|calls| ec452b79_ce61_9d68_8d89_e966050523c3
  36e01be4_f343_d92c_9462_5b05616da59e["combo()"]
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245 -->|calls| 36e01be4_f343_d92c_9462_5b05616da59e
  style 50e0adfe_30dd_f27b_4d68_e61ba9cf2245 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java lines 99–115

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

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

        // 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 socket() do?
socket() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java.
Where is socket() defined?
socket() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java at line 99.
What does socket() call?
socket() calls 3 function(s): clientSocket, combo, serverSocket.

Analyze Your Own Codebase

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

Try Supermodel Free