testServerOption() — netty Function Reference
Architecture documentation for the testServerOption() function in EpollSocketTcpMd5Test.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f757b65f_b1d3_dc89_5070_e2b7f1e2eeab["testServerOption()"] 4ad7f2f4_20c9_39d9_b4a2_dd9acb80ba6d["EpollSocketTcpMd5Test"] f757b65f_b1d3_dc89_5070_e2b7f1e2eeab -->|defined in| 4ad7f2f4_20c9_39d9_b4a2_dd9acb80ba6d de3d1602_7245_e829_980d_ec2b06897ef9["handleException()"] f757b65f_b1d3_dc89_5070_e2b7f1e2eeab -->|calls| de3d1602_7245_e829_980d_ec2b06897ef9 style f757b65f_b1d3_dc89_5070_e2b7f1e2eeab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTcpMd5Test.java lines 92–109
@Test
public void testServerOption() throws Exception {
ServerBootstrap bootstrap = new ServerBootstrap();
EpollServerSocketChannel ch = (EpollServerSocketChannel) bootstrap.group(GROUP)
.channel(EpollServerSocketChannel.class)
.childHandler(new ChannelInboundHandlerAdapter())
.bind(new InetSocketAddress(0)).syncUninterruptibly().channel();
try {
ch.config().setOption(EpollChannelOption.TCP_MD5SIG,
Collections.<InetAddress, byte[]>singletonMap(NetUtil.LOCALHOST4, SERVER_KEY));
ch.config().setOption(EpollChannelOption.TCP_MD5SIG, Collections.<InetAddress, byte[]>emptyMap());
} catch (ChannelException ce) {
handleException(ce);
} finally {
ch.close().syncUninterruptibly();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testServerOption() do?
testServerOption() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTcpMd5Test.java.
Where is testServerOption() defined?
testServerOption() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTcpMd5Test.java at line 92.
What does testServerOption() call?
testServerOption() calls 1 function(s): handleException.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free