Home / Function/ testCmdRequestDecoder() — netty Function Reference

testCmdRequestDecoder() — netty Function Reference

Architecture documentation for the testCmdRequestDecoder() function in Socks4ServerDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b2a07317_20a8_0e90_5849_223ec88a56c3["testCmdRequestDecoder()"]
  7cac8956_3020_1100_4d53_6843a8dfe96d["Socks4ServerDecoderTest"]
  b2a07317_20a8_0e90_5849_223ec88a56c3 -->|defined in| 7cac8956_3020_1100_4d53_6843a8dfe96d
  c611c50a_ff30_f091_bbb7_450bf6d44752["test()"]
  b2a07317_20a8_0e90_5849_223ec88a56c3 -->|calls| c611c50a_ff30_f091_bbb7_450bf6d44752
  style b2a07317_20a8_0e90_5849_223ec88a56c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/test/java/io/netty/handler/codec/socksx/v4/Socks4ServerDecoderTest.java lines 48–64

    @Test
    public void testCmdRequestDecoder() {
        String[] hosts = { "127.0.0.1", };
        String[] userIds = { "test", };
        int[] ports = {1, 32769, 65535};

        for (Socks4CommandType cmdType : Arrays.asList(Socks4CommandType.BIND,
                                                       Socks4CommandType.CONNECT)) {
            for (String userId : userIds) {
                for (String host : hosts) {
                    for (int port : ports) {
                        test(userId, cmdType, host, port);
                    }
                }
            }
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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