doClose() — netty Function Reference
Architecture documentation for the doClose() function in NioServerDomainSocketChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 672041f4_9621_a34d_c4f2_8c43062e555b["doClose()"] 715453c3_0f58_2676_dfae_1919ea420212["NioServerDomainSocketChannel"] 672041f4_9621_a34d_c4f2_8c43062e555b -->|defined in| 715453c3_0f58_2676_dfae_1919ea420212 style 672041f4_9621_a34d_c4f2_8c43062e555b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/socket/nio/NioServerDomainSocketChannel.java lines 170–183
@Override
protected void doClose() throws Exception {
// Obtain the localAddress before we close the channel so it will not return null if we did not retrieve
// it before.
SocketAddress local = localAddress();
try {
super.doClose();
} finally {
javaChannel().close();
if (local != null) {
NioDomainSocketUtil.deleteSocketFile(local);
}
}
}
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/socket/nio/NioServerDomainSocketChannel.java.
Where is doClose() defined?
doClose() is defined in transport/src/main/java/io/netty/channel/socket/nio/NioServerDomainSocketChannel.java at line 170.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free