doClose() — netty Function Reference
Architecture documentation for the doClose() function in LocalServerChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9d50a269_d84f_672a_a3fb_cbe681d5c928["doClose()"] 1a58c560_dde9_7403_e4d4_f9cf37a89c81["LocalServerChannel"] 9d50a269_d84f_672a_a3fb_cbe681d5c928 -->|defined in| 1a58c560_dde9_7403_e4d4_f9cf37a89c81 style 9d50a269_d84f_672a_a3fb_cbe681d5c928 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/local/LocalServerChannel.java lines 130–140
@Override
protected void doClose() throws Exception {
if (state <= 1) {
// Update all internal state before the closeFuture is notified.
if (localAddress != null) {
LocalChannelRegistry.unregister(localAddress);
localAddress = null;
}
state = 2;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does doClose() do?
doClose() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/local/LocalServerChannel.java.
Where is doClose() defined?
doClose() is defined in transport/src/main/java/io/netty/channel/local/LocalServerChannel.java at line 130.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free