testChannelRegisteredEventPropagation() — netty Function Reference
Architecture documentation for the testChannelRegisteredEventPropagation() function in ChannelInitializerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7c459eda_a662_432c_51c7_fb43b84d54c9["testChannelRegisteredEventPropagation()"] 1d273673_4ec9_d923_c0aa_b8258d9bebe4["ChannelInitializerTest"] 7c459eda_a662_432c_51c7_fb43b84d54c9 -->|defined in| 1d273673_4ec9_d923_c0aa_b8258d9bebe4 95df6634_45a3_f1df_2e55_51e722b186d4["firstHandlerInPipelineShouldReceiveChannelRegisteredEvent()"] 95df6634_45a3_f1df_2e55_51e722b186d4 -->|calls| 7c459eda_a662_432c_51c7_fb43b84d54c9 77987415_086d_b896_3578_190ba1161255["lastHandlerInPipelineShouldReceiveChannelRegisteredEvent()"] 77987415_086d_b896_3578_190ba1161255 -->|calls| 7c459eda_a662_432c_51c7_fb43b84d54c9 0bb534fa_c187_6f51_5c79_3c1ef7a3ba7d["closeChannel()"] 7c459eda_a662_432c_51c7_fb43b84d54c9 -->|calls| 0bb534fa_c187_6f51_5c79_3c1ef7a3ba7d style 7c459eda_a662_432c_51c7_fb43b84d54c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/ChannelInitializerTest.java lines 250–261
private void testChannelRegisteredEventPropagation(ChannelInitializer<LocalChannel> init) {
Channel clientChannel = null, serverChannel = null;
try {
server.childHandler(init);
serverChannel = server.bind().syncUninterruptibly().channel();
clientChannel = client.connect(SERVER_ADDRESS).syncUninterruptibly().channel();
assertEquals(1, testHandler.channelRegisteredCount.get());
} finally {
closeChannel(clientChannel);
closeChannel(serverChannel);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does testChannelRegisteredEventPropagation() do?
testChannelRegisteredEventPropagation() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/ChannelInitializerTest.java.
Where is testChannelRegisteredEventPropagation() defined?
testChannelRegisteredEventPropagation() is defined in transport/src/test/java/io/netty/channel/ChannelInitializerTest.java at line 250.
What does testChannelRegisteredEventPropagation() call?
testChannelRegisteredEventPropagation() calls 1 function(s): closeChannel.
What calls testChannelRegisteredEventPropagation()?
testChannelRegisteredEventPropagation() is called by 2 function(s): firstHandlerInPipelineShouldReceiveChannelRegisteredEvent, lastHandlerInPipelineShouldReceiveChannelRegisteredEvent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free