Home / Function/ testCmdRequestDecoderIPv6() — netty Function Reference

testCmdRequestDecoderIPv6() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

    @Test
    public void testCmdRequestDecoderIPv6() throws UnknownHostException {
        String[] hosts = {
                NetUtil.bytesToIpAddress(SocketUtils.addressByName("::1").getAddress()) };
        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.IPv6, host, port);
                }
            }
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does testCmdRequestDecoderIPv6() do?
testCmdRequestDecoderIPv6() is a function in the netty codebase, defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5CommandRequestDecoderTest.java.
Where is testCmdRequestDecoderIPv6() defined?
testCmdRequestDecoderIPv6() is defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5CommandRequestDecoderTest.java at line 70.
What does testCmdRequestDecoderIPv6() call?
testCmdRequestDecoderIPv6() 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