Home / Function/ testCmdRequestDecoderIPv4() — netty Function Reference

testCmdRequestDecoderIPv4() — netty Function Reference

Architecture documentation for the testCmdRequestDecoderIPv4() function in Socks5CommandRequestDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3fe90d58_74d5_1efc_0b1c_319582f3d5e3["testCmdRequestDecoderIPv4()"]
  c1fe2676_ad04_03d5_49da_b916e772c7ab["Socks5CommandRequestDecoderTest"]
  3fe90d58_74d5_1efc_0b1c_319582f3d5e3 -->|defined in| c1fe2676_ad04_03d5_49da_b916e772c7ab
  f1cb7c8e_8115_47d0_8e85_39e49c6ce71b["test()"]
  3fe90d58_74d5_1efc_0b1c_319582f3d5e3 -->|calls| f1cb7c8e_8115_47d0_8e85_39e49c6ce71b
  style 3fe90d58_74d5_1efc_0b1c_319582f3d5e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5CommandRequestDecoderTest.java lines 55–68

    @Test
    public void testCmdRequestDecoderIPv4() {
        String[] hosts = {"127.0.0.1", };
        int[] ports = {1, 32769, 65535 };
        for (Socks5CommandType cmdType: Arrays.asList(Socks5CommandType.BIND,
                                                      Socks5CommandType.CONNECT,
                                                      Socks5CommandType.UDP_ASSOCIATE)) {
            for (String host : hosts) {
                for (int port : ports) {
                    test(cmdType, Socks5AddressType.IPv4, host, port);
                }
            }
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does testCmdRequestDecoderIPv4() do?
testCmdRequestDecoderIPv4() is a function in the netty codebase, defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5CommandRequestDecoderTest.java.
Where is testCmdRequestDecoderIPv4() defined?
testCmdRequestDecoderIPv4() is defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5CommandRequestDecoderTest.java at line 55.
What does testCmdRequestDecoderIPv4() call?
testCmdRequestDecoderIPv4() calls 1 function(s): test.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free