Home / Function/ clientSocket() — netty Function Reference

clientSocket() — netty Function Reference

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

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  ec452b79_ce61_9d68_8d89_e966050523c3["clientSocket()"]
  d1a88829_0f4e_903e_71ca_619ab445cd85["SocketTestPermutation"]
  ec452b79_ce61_9d68_8d89_e966050523c3 -->|defined in| d1a88829_0f4e_903e_71ca_619ab445cd85
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245["socket()"]
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245 -->|calls| ec452b79_ce61_9d68_8d89_e966050523c3
  395a2524_301e_c941_89b8_34fe584ef056["clientSocketWithFastOpen()"]
  395a2524_301e_c941_89b8_34fe584ef056 -->|calls| ec452b79_ce61_9d68_8d89_e966050523c3
  style ec452b79_ce61_9d68_8d89_e966050523c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java lines 192–210

    public List<BootstrapFactory<Bootstrap>> clientSocket() {
        List<BootstrapFactory<Bootstrap>> factories = new ArrayList<>();
        factories.add(new BootstrapFactory<Bootstrap>() {
            @Override
            public Bootstrap newInstance() {
                return new Bootstrap().group(NIO_GROUP).channel(NioSocketChannel.class);
            }
        });
        if (INCLUDE_OIO) {
            factories.add(new BootstrapFactory<Bootstrap>() {
                @Override
                public Bootstrap newInstance() {
                    return new Bootstrap().group(OIO_GROUP).channel(OioSocketChannel.class)
                            .option(ChannelOption.SO_TIMEOUT, OIO_SO_TIMEOUT);
                }
            });
        }
        return factories;
    }

Domain

Subdomains

Frequently Asked Questions

What does clientSocket() do?
clientSocket() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java.
Where is clientSocket() defined?
clientSocket() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java at line 192.
What calls clientSocket()?
clientSocket() is called by 2 function(s): clientSocketWithFastOpen, socket.

Analyze Your Own Codebase

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

Try Supermodel Free