testUniqueIpFilterHandler() — netty Function Reference
Architecture documentation for the testUniqueIpFilterHandler() function in IpSubnetFilterTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c529b068_b372_7151_b702_66251ba23ffc["testUniqueIpFilterHandler()"] a29baed8_7220_9a86_5676_d9b84ff398ba["IpSubnetFilterTest"] c529b068_b372_7151_b702_66251ba23ffc -->|defined in| a29baed8_7220_9a86_5676_d9b84ff398ba style c529b068_b372_7151_b702_66251ba23ffc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java lines 139–155
@Test
public void testUniqueIpFilterHandler() {
UniqueIpFilter handler = new UniqueIpFilter();
EmbeddedChannel ch1 = newEmbeddedInetChannel("91.92.93.1", handler);
assertTrue(ch1.isActive());
EmbeddedChannel ch2 = newEmbeddedInetChannel("91.92.93.2", handler);
assertTrue(ch2.isActive());
EmbeddedChannel ch3 = newEmbeddedInetChannel("91.92.93.1", handler);
assertFalse(ch3.isActive());
// false means that no data is left to read/write
assertFalse(ch1.finish());
EmbeddedChannel ch4 = newEmbeddedInetChannel("91.92.93.1", handler);
assertTrue(ch4.isActive());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testUniqueIpFilterHandler() do?
testUniqueIpFilterHandler() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java.
Where is testUniqueIpFilterHandler() defined?
testUniqueIpFilterHandler() is defined in handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java at line 139.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free