Home / Function/ testFireChannelInactiveAndUnregisteredOnClose() — netty Function Reference

testFireChannelInactiveAndUnregisteredOnClose() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2410f4e9_6ad6_3dc0_c60f_b6fc5e031bfd["testFireChannelInactiveAndUnregisteredOnClose()"]
  300cabef_b042_697f_5623_37ce249f504d["EmbeddedChannelTest"]
  2410f4e9_6ad6_3dc0_c60f_b6fc5e031bfd -->|defined in| 300cabef_b042_697f_5623_37ce249f504d
  d5bebaa8_e534_c95d_6301_fbb84e35aace["testFireChannelInactiveAndUnregistered()"]
  2410f4e9_6ad6_3dc0_c60f_b6fc5e031bfd -->|calls| d5bebaa8_e534_c95d_6301_fbb84e35aace
  4fc8a753_5665_2ca5_69db_dc1006272b05["close()"]
  2410f4e9_6ad6_3dc0_c60f_b6fc5e031bfd -->|calls| 4fc8a753_5665_2ca5_69db_dc1006272b05
  style 2410f4e9_6ad6_3dc0_c60f_b6fc5e031bfd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java lines 206–221

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free