testTcpInfo() — netty Function Reference
Architecture documentation for the testTcpInfo() function in EpollSocketChannelTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7dc79d46_2d9b_9f9c_ae80_88fcc89c4553["testTcpInfo()"] d65ca846_317f_ea83_eb06_5feb9f9a7735["EpollSocketChannelTest"] 7dc79d46_2d9b_9f9c_ae80_88fcc89c4553 -->|defined in| d65ca846_317f_ea83_eb06_5feb9f9a7735 9ceed904_dae4_3c99_a2a8_92a7fc7ad164["assertTcpInfo0()"] 7dc79d46_2d9b_9f9c_ae80_88fcc89c4553 -->|calls| 9ceed904_dae4_3c99_a2a8_92a7fc7ad164 style 7dc79d46_2d9b_9f9c_ae80_88fcc89c4553 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelTest.java lines 33–49
@Test
public void testTcpInfo() 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 = ch.tcpInfo();
assertTcpInfo0(info);
ch.close().syncUninterruptibly();
} finally {
group.shutdownGracefully();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testTcpInfo() do?
testTcpInfo() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelTest.java.
Where is testTcpInfo() defined?
testTcpInfo() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelTest.java at line 33.
What does testTcpInfo() call?
testTcpInfo() 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