Home / Function/ channelInactive() — netty Function Reference

channelInactive() — netty Function Reference

Architecture documentation for the channelInactive() function in AbstractSocketReuseFdTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  17adb25a_1493_e740_a61b_e18f8b5df7b0["channelInactive()"]
  b1f99365_b9c8_a7b8_4472_f530b239a199["ReuseFdHandler"]
  17adb25a_1493_e740_a61b_e18f8b5df7b0 -->|defined in| b1f99365_b9c8_a7b8_4472_f530b239a199
  style 17adb25a_1493_e740_a61b_e18f8b5df7b0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractSocketReuseFdTest.java lines 175–184

        @Override
        public void channelInactive(ChannelHandlerContext ctx) {
            if (remaining.decrementAndGet() == 0) {
                if (received.toString().equals(EXPECTED_PAYLOAD)) {
                    donePromise.setSuccess(null);
                } else {
                    donePromise.tryFailure(new Exception("Unexpected payload:" + received));
                }
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does channelInactive() do?
channelInactive() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractSocketReuseFdTest.java.
Where is channelInactive() defined?
channelInactive() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractSocketReuseFdTest.java at line 175.

Analyze Your Own Codebase

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

Try Supermodel Free