IoUringSocketRstTest Class — netty Architecture
Architecture documentation for the IoUringSocketRstTest class in IoUringSocketRstTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0c83b3f6_78d4_0e02_e07e_bf7928b4f121["IoUringSocketRstTest"] 5f6105a2_e666_4285_917f_37b626f36105["IoUringSocketRstTest.java"] 0c83b3f6_78d4_0e02_e07e_bf7928b4f121 -->|defined in| 5f6105a2_e666_4285_917f_37b626f36105 86443af4_7150_e29b_e2b8_ed8140cf1a95["loadJNI()"] 0c83b3f6_78d4_0e02_e07e_bf7928b4f121 -->|method| 86443af4_7150_e29b_e2b8_ed8140cf1a95 dea61717_52d5_5b0d_2a3e_f4df02182c1d["newFactories()"] 0c83b3f6_78d4_0e02_e07e_bf7928b4f121 -->|method| dea61717_52d5_5b0d_2a3e_f4df02182c1d 025b74b4_1ea9_44e7_2f85_08bf339e3fae["assertRstOnCloseException()"] 0c83b3f6_78d4_0e02_e07e_bf7928b4f121 -->|method| 025b74b4_1ea9_44e7_2f85_08bf339e3fae
Relationship Graph
Source Code
transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketRstTest.java lines 33–56
public class IoUringSocketRstTest extends SocketRstTest {
@BeforeAll
public static void loadJNI() {
assumeTrue(IoUring.isAvailable());
}
@Override
protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() {
return IoUringSocketTestPermutation.INSTANCE.socket();
}
@Override
protected void assertRstOnCloseException(IOException cause, Channel clientChannel) {
if (!AbstractIoUringChannel.class.isInstance(clientChannel)) {
super.assertRstOnCloseException(cause, clientChannel);
return;
}
assertTrue(cause instanceof Errors.NativeIoException,
"actual [type, message]: [" + cause.getClass() + ", " + cause.getMessage() + ']');
assertEquals(Errors.ERRNO_ECONNRESET_NEGATIVE, ((Errors.NativeIoException) cause).expectedErr());
}
}
Source
Frequently Asked Questions
What is the IoUringSocketRstTest class?
IoUringSocketRstTest is a class in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketRstTest.java.
Where is IoUringSocketRstTest defined?
IoUringSocketRstTest is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketRstTest.java at line 33.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free