testConnectionRefused() — netty Function Reference
Architecture documentation for the testConnectionRefused() function in LocalChannelTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e5c60860_5c5f_3868_50c2_8123f9d054f6["testConnectionRefused()"] d7e5442a_9b99_814d_2bd6_0be57237db65["LocalChannelTest"] e5c60860_5c5f_3868_50c2_8123f9d054f6 -->|defined in| d7e5442a_9b99_814d_2bd6_0be57237db65 style e5c60860_5c5f_3868_50c2_8123f9d054f6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/local/LocalChannelTest.java lines 852–864
@Test
public void testConnectionRefused() {
final Bootstrap sb = new Bootstrap();
sb.group(group1)
.channel(LocalChannel.class)
.handler(new TestHandler());
assertThrows(ConnectException.class, new Executable() {
@Override
public void execute() {
sb.connect(LocalAddress.ANY).syncUninterruptibly();
}
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testConnectionRefused() do?
testConnectionRefused() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/local/LocalChannelTest.java.
Where is testConnectionRefused() defined?
testConnectionRefused() is defined in transport/src/test/java/io/netty/channel/local/LocalChannelTest.java at line 852.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free