Home / Function/ clientSocketWithFastOpen() — netty Function Reference

clientSocketWithFastOpen() — netty Function Reference

Architecture documentation for the clientSocketWithFastOpen() function in KQueueSocketTestPermutation.java from the netty codebase.

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  07c50211_39ff_f0ff_8cb3_048583441710["clientSocketWithFastOpen()"]
  8df74157_ee6b_4bb5_84ec_4d5083b86dfc["KQueueSocketTestPermutation"]
  07c50211_39ff_f0ff_8cb3_048583441710 -->|defined in| 8df74157_ee6b_4bb5_84ec_4d5083b86dfc
  6128ec9f_f8b4_a1b0_abb5_9bf227955a7f["socket()"]
  6128ec9f_f8b4_a1b0_abb5_9bf227955a7f -->|calls| 07c50211_39ff_f0ff_8cb3_048583441710
  050f1a65_b845_736f_b037_c48e2aa8e88a["clientSocket()"]
  07c50211_39ff_f0ff_8cb3_048583441710 -->|calls| 050f1a65_b845_736f_b037_c48e2aa8e88a
  style 07c50211_39ff_f0ff_8cb3_048583441710 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueSocketTestPermutation.java lines 114–130

    @Override
    public List<BootstrapFactory<Bootstrap>> clientSocketWithFastOpen() {
        List<BootstrapFactory<Bootstrap>> factories = clientSocket();

        if (KQueue.isTcpFastOpenClientSideAvailable()) {
            int insertIndex = factories.size() - 1; // Keep NIO fixture last.
            factories.add(insertIndex, new BootstrapFactory<Bootstrap>() {
                @Override
                public Bootstrap newInstance() {
                    return new Bootstrap().group(KQUEUE_GROUP).channel(KQueueSocketChannel.class)
                            .option(ChannelOption.TCP_FASTOPEN_CONNECT, true);
                }
            });
        }

        return factories;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does clientSocketWithFastOpen() do?
clientSocketWithFastOpen() is a function in the netty codebase, defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueSocketTestPermutation.java.
Where is clientSocketWithFastOpen() defined?
clientSocketWithFastOpen() is defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueSocketTestPermutation.java at line 114.
What does clientSocketWithFastOpen() call?
clientSocketWithFastOpen() calls 1 function(s): clientSocket.
What calls clientSocketWithFastOpen()?
clientSocketWithFastOpen() is called by 1 function(s): socket.

Analyze Your Own Codebase

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

Try Supermodel Free