assertRstOnCloseException() — netty Function Reference
Architecture documentation for the assertRstOnCloseException() function in EpollSocketRstTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bfe6ae74_0623_1622_ce5b_894dcab9a05a["assertRstOnCloseException()"] 2dfb7eb2_3faa_5856_a064_e669b248b786["EpollSocketRstTest"] bfe6ae74_0623_1622_ce5b_894dcab9a05a -->|defined in| 2dfb7eb2_3faa_5856_a064_e669b248b786 style bfe6ae74_0623_1622_ce5b_894dcab9a05a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketRstTest.java lines 38–48
@Override
protected void assertRstOnCloseException(IOException cause, Channel clientChannel) {
if (!AbstractEpollChannel.class.isInstance(clientChannel)) {
super.assertRstOnCloseException(cause, clientChannel);
return;
}
assertTrue(cause instanceof NativeIoException,
"actual [type, message]: [" + cause.getClass() + ", " + cause.getMessage() + "]");
assertEquals(Errors.ERRNO_ECONNRESET_NEGATIVE, ((NativeIoException) cause).expectedErr());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does assertRstOnCloseException() do?
assertRstOnCloseException() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketRstTest.java.
Where is assertRstOnCloseException() defined?
assertRstOnCloseException() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketRstTest.java at line 38.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free