ServerSocketTestHandler Class — netty Architecture
Architecture documentation for the ServerSocketTestHandler class in EpollReuseAddrTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1633a3a5_2fad_9141_f683_6a0d33e8a568["ServerSocketTestHandler"] 795118a9_6cf3_0704_be60_fdabf6668344["EpollReuseAddrTest.java"] 1633a3a5_2fad_9141_f683_6a0d33e8a568 -->|defined in| 795118a9_6cf3_0704_be60_fdabf6668344 01335c1c_a7c4_46a2_3db4_72e2f170f465["ServerSocketTestHandler()"] 1633a3a5_2fad_9141_f683_6a0d33e8a568 -->|method| 01335c1c_a7c4_46a2_3db4_72e2f170f465 64ec6870_87b8_21f7_f604_177e4485ee31["channelActive()"] 1633a3a5_2fad_9141_f683_6a0d33e8a568 -->|method| 64ec6870_87b8_21f7_f604_177e4485ee31
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java lines 231–244
@ChannelHandler.Sharable
private static class ServerSocketTestHandler extends ChannelInboundHandlerAdapter {
private final AtomicBoolean accepted;
ServerSocketTestHandler(AtomicBoolean accepted) {
this.accepted = accepted;
}
@Override
public void channelActive(ChannelHandlerContext ctx) throws Exception {
accepted.set(true);
ctx.close();
}
}
Source
Frequently Asked Questions
What is the ServerSocketTestHandler class?
ServerSocketTestHandler is a class in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java.
Where is ServerSocketTestHandler defined?
ServerSocketTestHandler is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java at line 231.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free