Home / Function/ clientSocketWithFastOpen() — netty Function Reference

clientSocketWithFastOpen() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  847d5e04_f3f3_6693_5b55_7be952eb485e["clientSocketWithFastOpen()"]
  2104f5df_e24e_3ceb_8b6a_7d1927ef598b["EpollSocketTestPermutation"]
  847d5e04_f3f3_6693_5b55_7be952eb485e -->|defined in| 2104f5df_e24e_3ceb_8b6a_7d1927ef598b
  335abf57_1f78_b084_42ff_cd6927a6ed50["socket()"]
  335abf57_1f78_b084_42ff_cd6927a6ed50 -->|calls| 847d5e04_f3f3_6693_5b55_7be952eb485e
  526ee6ce_d0a5_a7a0_3443_4820e7b83107["clientSocket()"]
  847d5e04_f3f3_6693_5b55_7be952eb485e -->|calls| 526ee6ce_d0a5_a7a0_3443_4820e7b83107
  style 847d5e04_f3f3_6693_5b55_7be952eb485e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTestPermutation.java lines 121–137

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

        if (Epoll.isTcpFastOpenClientSideAvailable()) {
            int insertIndex = factories.size() - 1; // Keep NIO fixture last.
            factories.add(insertIndex, new BootstrapFactory<Bootstrap>() {
                @Override
                public Bootstrap newInstance() {
                    return new Bootstrap().group(EPOLL_GROUP).channel(EpollSocketChannel.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-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTestPermutation.java.
Where is clientSocketWithFastOpen() defined?
clientSocketWithFastOpen() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTestPermutation.java at line 121.
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