registerChannel() — netty Function Reference
Architecture documentation for the registerChannel() function in AbstractChannelTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9225cd8f_6728_b060_f06a_6f6e2e5381c9["registerChannel()"] 63f919c7_8527_59bf_45a5_f49840c141ac["AbstractChannelTest"] 9225cd8f_6728_b060_f06a_6f6e2e5381c9 -->|defined in| 63f919c7_8527_59bf_45a5_f49840c141ac 9e832794_2034_22cd_5ae1_685bbe0f831b["ensureInitialRegistrationFiresActive()"] 9e832794_2034_22cd_5ae1_685bbe0f831b -->|calls| 9225cd8f_6728_b060_f06a_6f6e2e5381c9 f02f8dd4_ae43_9cb4_dad3_4d9110ec9db3["ensureSubsequentRegistrationDoesNotFireActive()"] f02f8dd4_ae43_9cb4_dad3_4d9110ec9db3 -->|calls| 9225cd8f_6728_b060_f06a_6f6e2e5381c9 d995674a_eb16_206d_4092_cae0cc9b4cea["testClosedChannelExceptionCarryIOException()"] d995674a_eb16_206d_4092_cae0cc9b4cea -->|calls| 9225cd8f_6728_b060_f06a_6f6e2e5381c9 style 9225cd8f_6728_b060_f06a_6f6e2e5381c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/AbstractChannelTest.java lines 176–180
private static void registerChannel(EventLoop eventLoop, Channel channel) throws Exception {
DefaultChannelPromise future = new DefaultChannelPromise(channel);
channel.unsafe().register(eventLoop, future);
future.sync(); // Cause any exceptions to be thrown
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does registerChannel() do?
registerChannel() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/AbstractChannelTest.java.
Where is registerChannel() defined?
registerChannel() is defined in transport/src/test/java/io/netty/channel/AbstractChannelTest.java at line 176.
What calls registerChannel()?
registerChannel() is called by 3 function(s): ensureInitialRegistrationFiresActive, ensureSubsequentRegistrationDoesNotFireActive, testClosedChannelExceptionCarryIOException.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free