Home / Function/ testLateRegistrationConnect() — netty Function Reference

testLateRegistrationConnect() — netty Function Reference

Architecture documentation for the testLateRegistrationConnect() function in BootstrapTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cc592760_a495_7136_21dd_a76b0b77a33e["testLateRegistrationConnect()"]
  7a7606db_8d2a_bfe0_9993_4aaa8e0a6e42["BootstrapTest"]
  cc592760_a495_7136_21dd_a76b0b77a33e -->|defined in| 7a7606db_8d2a_bfe0_9993_4aaa8e0a6e42
  style cc592760_a495_7136_21dd_a76b0b77a33e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/bootstrap/BootstrapTest.java lines 308–326

    @Test
    @Timeout(value = 10000, unit = TimeUnit.MILLISECONDS)
    public void testLateRegistrationConnect() throws Exception {
        EventLoopGroup group = new DelayedEventLoopGroup();
        try {
            final Bootstrap bootstrapA = new Bootstrap();
            bootstrapA.group(group);
            bootstrapA.channel(LocalChannel.class);
            bootstrapA.handler(dummyHandler);
            assertThrows(ConnectException.class, new Executable() {
                @Override
                public void execute() {
                    bootstrapA.connect(LocalAddress.ANY).syncUninterruptibly();
                }
            });
        } finally {
            group.shutdownGracefully();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testLateRegistrationConnect() do?
testLateRegistrationConnect() is a function in the netty codebase, defined in transport/src/test/java/io/netty/bootstrap/BootstrapTest.java.
Where is testLateRegistrationConnect() defined?
testLateRegistrationConnect() is defined in transport/src/test/java/io/netty/bootstrap/BootstrapTest.java at line 308.

Analyze Your Own Codebase

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

Try Supermodel Free