Home / Function/ testTcpDeferAccept() — netty Function Reference

testTcpDeferAccept() — netty Function Reference

Architecture documentation for the testTcpDeferAccept() function in EpollServerSocketChannelConfigTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  972a28df_3943_adfe_de4e_b823952746c3["testTcpDeferAccept()"]
  78d8dc4a_1469_96a9_4370_4db3572c86e8["EpollServerSocketChannelConfigTest"]
  972a28df_3943_adfe_de4e_b823952746c3 -->|defined in| 78d8dc4a_1469_96a9_4370_4db3572c86e8
  style 972a28df_3943_adfe_de4e_b823952746c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollServerSocketChannelConfigTest.java lines 61–69

    @Test
    public void testTcpDeferAccept() {
        ch.config().setTcpDeferAccept(0);
        assertEquals(0, ch.config().getTcpDeferAccept());
        ch.config().setTcpDeferAccept(10);
        // The returned value may be bigger then what we set.
        // See https://www.spinics.net/lists/netdev/msg117330.html
        assertTrue(10 <= ch.config().getTcpDeferAccept());
    }

Domain

Subdomains

Frequently Asked Questions

What does testTcpDeferAccept() do?
testTcpDeferAccept() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollServerSocketChannelConfigTest.java.
Where is testTcpDeferAccept() defined?
testTcpDeferAccept() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollServerSocketChannelConfigTest.java at line 61.

Analyze Your Own Codebase

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

Try Supermodel Free