testConnectMultipleTimes() — netty Function Reference
Architecture documentation for the testConnectMultipleTimes() function in QuicChannelConnectTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c4f39b64_4601_eed4_9334_db53f05824da["testConnectMultipleTimes()"] 1e1bc485_1969_4537_ef9b_f28971b2f663["QuicChannelConnectTest"] c4f39b64_4601_eed4_9334_db53f05824da -->|defined in| 1e1bc485_1969_4537_ef9b_f28971b2f663 style c4f39b64_4601_eed4_9334_db53f05824da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java lines 1040–1068
@ParameterizedTest
@MethodSource("newSslTaskExecutors")
public void testConnectMultipleTimes(Executor executor) throws Throwable {
Channel server = QuicTestUtils.newServer(executor, QuicTestUtils.NOOP_HANDLER, QuicTestUtils.NOOP_HANDLER);
InetSocketAddress address = (InetSocketAddress) server.localAddress();
Channel channel = QuicTestUtils.newClient(executor);
try {
QuicChannelBootstrap cb = QuicTestUtils.newQuicChannelBootstrap(channel)
.handler(QuicTestUtils.NOOP_HANDLER)
.streamHandler(QuicTestUtils.NOOP_HANDLER)
.remoteAddress(address);
List<QuicChannel> channels = new ArrayList<>();
for (int i = 0; i < 5; i++) {
channels.add(cb
.connect()
.get());
}
for (QuicChannel ch : channels) {
ch.close().sync();
}
} finally {
server.close().sync();
// Close the parent Datagram channel as well.
channel.close().sync();
shutdown(executor);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testConnectMultipleTimes() do?
testConnectMultipleTimes() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java.
Where is testConnectMultipleTimes() defined?
testConnectMultipleTimes() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java at line 1040.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free