serverSocket() — netty Function Reference
Architecture documentation for the serverSocket() function in EpollSocketTestPermutation.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 47c6d0f4_b1a7_fe4b_72a6_5367947357c9["serverSocket()"] 2104f5df_e24e_3ceb_8b6a_7d1927ef598b["EpollSocketTestPermutation"] 47c6d0f4_b1a7_fe4b_72a6_5367947357c9 -->|defined in| 2104f5df_e24e_3ceb_8b6a_7d1927ef598b 335abf57_1f78_b084_42ff_cd6927a6ed50["socket()"] 335abf57_1f78_b084_42ff_cd6927a6ed50 -->|calls| 47c6d0f4_b1a7_fe4b_72a6_5367947357c9 8171cf8b_ad3e_bc87_d330_94a645c86641["socketWithoutFastOpen()"] 8171cf8b_ad3e_bc87_d330_94a645c86641 -->|calls| 47c6d0f4_b1a7_fe4b_72a6_5367947357c9 style 47c6d0f4_b1a7_fe4b_72a6_5367947357c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTestPermutation.java lines 68–98
@Override
public List<BootstrapFactory<ServerBootstrap>> serverSocket() {
List<BootstrapFactory<ServerBootstrap>> toReturn = new ArrayList<BootstrapFactory<ServerBootstrap>>();
toReturn.add(new BootstrapFactory<ServerBootstrap>() {
@Override
public ServerBootstrap newInstance() {
return new ServerBootstrap().group(EPOLL_GROUP)
.channel(EpollServerSocketChannel.class);
}
});
if (Epoll.isTcpFastOpenServerSideAvailable()) {
toReturn.add(new BootstrapFactory<ServerBootstrap>() {
@Override
public ServerBootstrap newInstance() {
ServerBootstrap serverBootstrap = new ServerBootstrap().group(EPOLL_GROUP)
.channel(EpollServerSocketChannel.class);
serverBootstrap.option(ChannelOption.TCP_FASTOPEN, 5);
return serverBootstrap;
}
});
}
toReturn.add(new BootstrapFactory<ServerBootstrap>() {
@Override
public ServerBootstrap newInstance() {
return new ServerBootstrap().group(NIO_GROUP)
.channel(NioServerSocketChannel.class);
}
});
return toReturn;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does serverSocket() do?
serverSocket() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTestPermutation.java.
Where is serverSocket() defined?
serverSocket() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTestPermutation.java at line 68.
What calls serverSocket()?
serverSocket() is called by 2 function(s): socket, socketWithoutFastOpen.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free