clientSocketWithFastOpen() — netty Function Reference
Architecture documentation for the clientSocketWithFastOpen() function in IoUringSocketTestPermutation.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ce51a4c6_28ea_d3dc_c5e9_5c3f2856d742["clientSocketWithFastOpen()"] b9d8589a_7c28_e55d_4254_c7b2d8ffa8b8["IoUringSocketTestPermutation"] ce51a4c6_28ea_d3dc_c5e9_5c3f2856d742 -->|defined in| b9d8589a_7c28_e55d_4254_c7b2d8ffa8b8 9edf18b1_0126_8e3b_3058_75bc5ecb89d1["clientSocket()"] ce51a4c6_28ea_d3dc_c5e9_5c3f2856d742 -->|calls| 9edf18b1_0126_8e3b_3058_75bc5ecb89d1 style ce51a4c6_28ea_d3dc_c5e9_5c3f2856d742 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketTestPermutation.java lines 177–203
@Override
public List<BootstrapFactory<Bootstrap>> clientSocketWithFastOpen() {
List<BootstrapFactory<Bootstrap>> factories = clientSocket();
if (IoUring.isTcpFastOpenClientSideAvailable()) {
int insertIndex = factories.size() - 1; // Keep NIO fixture last.
factories.add(insertIndex, new BootstrapFactory<Bootstrap>() {
@Override
public Bootstrap newInstance() {
return new Bootstrap().group(IO_URING_GROUP).channel(IoUringSocketChannel.class)
.option(ChannelOption.TCP_FASTOPEN_CONNECT, true);
}
});
if (IO_URING_INCREMENTAL_GROUP != null) {
factories.add(insertIndex + 1, new BootstrapFactory<Bootstrap>() {
@Override
public Bootstrap newInstance() {
return new Bootstrap().group(IO_URING_INCREMENTAL_GROUP)
.channel(IoUringSocketChannel.class)
.option(ChannelOption.TCP_FASTOPEN_CONNECT, true);
}
});
}
}
return factories;
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does clientSocketWithFastOpen() do?
clientSocketWithFastOpen() is a function in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketTestPermutation.java.
Where is clientSocketWithFastOpen() defined?
clientSocketWithFastOpen() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketTestPermutation.java at line 177.
What does clientSocketWithFastOpen() call?
clientSocketWithFastOpen() calls 1 function(s): clientSocket.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free