Home / Function/ doClose() — netty Function Reference

doClose() — netty Function Reference

Architecture documentation for the doClose() function in AbstractKQueueChannel.java from the netty codebase.

Function java Buffer Search calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  5a1a5e83_2a80_174b_7406_22a4665158a1["doClose()"]
  e50a36fb_84e6_15bc_5dc3_edd4246018f8["AbstractKQueueChannel"]
  5a1a5e83_2a80_174b_7406_22a4665158a1 -->|defined in| e50a36fb_84e6_15bc_5dc3_edd4246018f8
  1b3578e5_fefa_e03c_cbbf_ecf376fcd1f7["doDisconnect()"]
  1b3578e5_fefa_e03c_cbbf_ecf376fcd1f7 -->|calls| 5a1a5e83_2a80_174b_7406_22a4665158a1
  40290e34_2d02_2ca4_f99e_abc7767dd285["doConnect0()"]
  40290e34_2d02_2ca4_f99e_abc7767dd285 -->|calls| 5a1a5e83_2a80_174b_7406_22a4665158a1
  6cfc6ba6_4961_3030_0b05_046c480b76d2["close()"]
  5a1a5e83_2a80_174b_7406_22a4665158a1 -->|calls| 6cfc6ba6_4961_3030_0b05_046c480b76d2
  style 5a1a5e83_2a80_174b_7406_22a4665158a1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java lines 138–145

    @Override
    protected void doClose() throws Exception {
        active = false;
        // Even if we allow half closed sockets we should give up on reading. Otherwise we may allow a read attempt on a
        // socket which has not even been connected yet. This has been observed to block during unit tests.
        inputClosedSeenErrorOnRead = true;
        socket.close();
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does doClose() do?
doClose() is a function in the netty codebase, defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java.
Where is doClose() defined?
doClose() is defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java at line 138.
What does doClose() call?
doClose() calls 1 function(s): close.
What calls doClose()?
doClose() is called by 2 function(s): doConnect0, doDisconnect.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free