testTcpInfoReuse() — netty Function Reference
Architecture documentation for the testTcpInfoReuse() function in EpollSocketChannelTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bad70b4f_2ea3_48a3_627b_e42298abf8c8["testTcpInfoReuse()"] d65ca846_317f_ea83_eb06_5feb9f9a7735["EpollSocketChannelTest"] bad70b4f_2ea3_48a3_627b_e42298abf8c8 -->|defined in| d65ca846_317f_ea83_eb06_5feb9f9a7735 9ceed904_dae4_3c99_a2a8_92a7fc7ad164["assertTcpInfo0()"] bad70b4f_2ea3_48a3_627b_e42298abf8c8 -->|calls| 9ceed904_dae4_3c99_a2a8_92a7fc7ad164 style bad70b4f_2ea3_48a3_627b_e42298abf8c8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelTest.java lines 51–68
@Test
public void testTcpInfoReuse() throws Exception {
EventLoopGroup group = new MultiThreadIoEventLoopGroup(1, EpollIoHandler.newFactory());
try {
Bootstrap bootstrap = new Bootstrap();
EpollSocketChannel ch = (EpollSocketChannel) bootstrap.group(group)
.channel(EpollSocketChannel.class)
.handler(new ChannelInboundHandlerAdapter())
.bind(new InetSocketAddress(0)).syncUninterruptibly().channel();
EpollTcpInfo info = new EpollTcpInfo();
ch.tcpInfo(info);
assertTcpInfo0(info);
ch.close().syncUninterruptibly();
} finally {
group.shutdownGracefully();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testTcpInfoReuse() do?
testTcpInfoReuse() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelTest.java.
Where is testTcpInfoReuse() defined?
testTcpInfoReuse() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelTest.java at line 51.
What does testTcpInfoReuse() call?
testTcpInfoReuse() calls 1 function(s): assertTcpInfo0.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free