Home / Function/ testTrafficClass() — netty Function Reference

testTrafficClass() — netty Function Reference

Architecture documentation for the testTrafficClass() function in SocketTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4f37eb60_f398_01bb_4b79_61f1022794db["testTrafficClass()"]
  5043e69c_94c9_249c_15bc_1579a5a6a4b9["SocketTest"]
  4f37eb60_f398_01bb_4b79_61f1022794db -->|defined in| 5043e69c_94c9_249c_15bc_1579a5a6a4b9
  style 4f37eb60_f398_01bb_4b79_61f1022794db fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/SocketTest.java lines 97–103

    @Test
    public void testTrafficClass() throws IOException {
        // IPTOS_THROUGHPUT
        final int value = 0x08;
        socket.setTrafficClass(value);
        assertEquals(value, socket.getTrafficClass());
    }

Domain

Subdomains

Frequently Asked Questions

What does testTrafficClass() do?
testTrafficClass() is a function in the netty codebase, defined in transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/SocketTest.java.
Where is testTrafficClass() defined?
testTrafficClass() is defined in transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/SocketTest.java at line 97.

Analyze Your Own Codebase

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

Try Supermodel Free