Home / Function/ testFireChannelInactiveAndUnregisteredOnDisconnect() — netty Function Reference

testFireChannelInactiveAndUnregisteredOnDisconnect() — netty Function Reference

Architecture documentation for the testFireChannelInactiveAndUnregisteredOnDisconnect() function in EmbeddedChannelTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8d720b1f_a1b5_904e_9468_1c6dc17471e6["testFireChannelInactiveAndUnregisteredOnDisconnect()"]
  300cabef_b042_697f_5623_37ce249f504d["EmbeddedChannelTest"]
  8d720b1f_a1b5_904e_9468_1c6dc17471e6 -->|defined in| 300cabef_b042_697f_5623_37ce249f504d
  d5bebaa8_e534_c95d_6301_fbb84e35aace["testFireChannelInactiveAndUnregistered()"]
  8d720b1f_a1b5_904e_9468_1c6dc17471e6 -->|calls| d5bebaa8_e534_c95d_6301_fbb84e35aace
  14682a54_a3c2_37f7_b68d_c1ff77b7e22b["disconnect()"]
  8d720b1f_a1b5_904e_9468_1c6dc17471e6 -->|calls| 14682a54_a3c2_37f7_b68d_c1ff77b7e22b
  style 8d720b1f_a1b5_904e_9468_1c6dc17471e6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java lines 223–239

    @Test
    @Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
    public void testFireChannelInactiveAndUnregisteredOnDisconnect() throws InterruptedException {
        testFireChannelInactiveAndUnregistered(new Action() {
            @Override
            public ChannelFuture doRun(Channel channel) {
                return channel.disconnect();
            }
        });

        testFireChannelInactiveAndUnregistered(new Action() {
            @Override
            public ChannelFuture doRun(Channel channel) {
                return channel.disconnect(channel.newPromise());
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testFireChannelInactiveAndUnregisteredOnDisconnect() do?
testFireChannelInactiveAndUnregisteredOnDisconnect() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java.
Where is testFireChannelInactiveAndUnregisteredOnDisconnect() defined?
testFireChannelInactiveAndUnregisteredOnDisconnect() is defined in transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java at line 223.
What does testFireChannelInactiveAndUnregisteredOnDisconnect() call?
testFireChannelInactiveAndUnregisteredOnDisconnect() calls 2 function(s): disconnect, testFireChannelInactiveAndUnregistered.

Analyze Your Own Codebase

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

Try Supermodel Free