Home / Function/ isShutdown() — netty Function Reference

isShutdown() — netty Function Reference

Architecture documentation for the isShutdown() function in NioSocketChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  212f999e_d2ab_7e2d_b97c_dbcdb3e7ac73["isShutdown()"]
  f2eb70be_1f76_3e54_0854_050839fa58d4["NioSocketChannel"]
  212f999e_d2ab_7e2d_b97c_dbcdb3e7ac73 -->|defined in| f2eb70be_1f76_3e54_0854_050839fa58d4
  5bf15fe5_1f55_7d23_a827_6e2a5776a283["isInputShutdown()"]
  212f999e_d2ab_7e2d_b97c_dbcdb3e7ac73 -->|calls| 5bf15fe5_1f55_7d23_a827_6e2a5776a283
  0c18c685_d141_0b96_6068_25ce7036b210["isOutputShutdown()"]
  212f999e_d2ab_7e2d_b97c_dbcdb3e7ac73 -->|calls| 0c18c685_d141_0b96_6068_25ce7036b210
  017d8729_b2b3_8284_ae3a_82148de37013["isActive()"]
  212f999e_d2ab_7e2d_b97c_dbcdb3e7ac73 -->|calls| 017d8729_b2b3_8284_ae3a_82148de37013
  style 212f999e_d2ab_7e2d_b97c_dbcdb3e7ac73 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java lines 155–159

    @Override
    public boolean isShutdown() {
        Socket socket = javaChannel().socket();
        return socket.isInputShutdown() && socket.isOutputShutdown() || !isActive();
    }

Domain

Subdomains

Frequently Asked Questions

What does isShutdown() do?
isShutdown() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java.
Where is isShutdown() defined?
isShutdown() is defined in transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java at line 155.
What does isShutdown() call?
isShutdown() calls 3 function(s): isActive, isInputShutdown, isOutputShutdown.

Analyze Your Own Codebase

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

Try Supermodel Free