Home / Function/ isAllowHalfClosure() — netty Function Reference

isAllowHalfClosure() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  11cc8268_bfad_6df4_c15a_bc6827603433["isAllowHalfClosure()"]
  e50a36fb_84e6_15bc_5dc3_edd4246018f8["AbstractKQueueChannel"]
  11cc8268_bfad_6df4_c15a_bc6827603433 -->|defined in| e50a36fb_84e6_15bc_5dc3_edd4246018f8
  491662e0_a9e5_a83d_e9fb_9de889a0320b["shouldBreakReadReady()"]
  491662e0_a9e5_a83d_e9fb_9de889a0320b -->|calls| 11cc8268_bfad_6df4_c15a_bc6827603433
  def1f904_d411_f912_d2ef_f5e394e5558d["shutdownInput()"]
  def1f904_d411_f912_d2ef_f5e394e5558d -->|calls| 11cc8268_bfad_6df4_c15a_bc6827603433
  style 11cc8268_bfad_6df4_c15a_bc6827603433 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java lines 323–330

    private static boolean isAllowHalfClosure(ChannelConfig config) {
        if (config instanceof KQueueDomainSocketChannelConfig) {
            return ((KQueueDomainSocketChannelConfig) config).isAllowHalfClosure();
        }

        return config instanceof SocketChannelConfig &&
                ((SocketChannelConfig) config).isAllowHalfClosure();
    }

Domain

Subdomains

Frequently Asked Questions

What does isAllowHalfClosure() do?
isAllowHalfClosure() is a function in the netty codebase, defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java.
Where is isAllowHalfClosure() defined?
isAllowHalfClosure() is defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java at line 323.
What calls isAllowHalfClosure()?
isAllowHalfClosure() is called by 2 function(s): shouldBreakReadReady, shutdownInput.

Analyze Your Own Codebase

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

Try Supermodel Free