Home / Function/ testResetReader() — netty Function Reference

testResetReader() — netty Function Reference

Architecture documentation for the testResetReader() function in IdleStateHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9ce36c1e_e2fb_1863_27ec_a20ca7eff6f7["testResetReader()"]
  f1a156c3_6366_afc7_6b64_9543e5f91ba9["IdleStateHandlerTest"]
  9ce36c1e_e2fb_1863_27ec_a20ca7eff6f7 -->|defined in| f1a156c3_6366_afc7_6b64_9543e5f91ba9
  1cc6fb30_92ac_540a_93b5_d0513d5059f6["anyNotIdle()"]
  9ce36c1e_e2fb_1863_27ec_a20ca7eff6f7 -->|calls| 1cc6fb30_92ac_540a_93b5_d0513d5059f6
  style 9ce36c1e_e2fb_1863_27ec_a20ca7eff6f7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/timeout/IdleStateHandlerTest.java lines 101–114

    @Test
    public void testResetReader() throws Exception {
        final IdleStateHandler idleStateHandler = new IdleStateHandler(
                false, 1L, 0L, 0L, TimeUnit.SECONDS);

        Action action = new Action() {
            @Override
            public void run(EmbeddedChannel channel) throws Exception {
                idleStateHandler.resetReadTimeout();
            }
        };

        anyNotIdle(idleStateHandler, action, IdleStateEvent.FIRST_READER_IDLE_STATE_EVENT);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does testResetReader() do?
testResetReader() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/timeout/IdleStateHandlerTest.java.
Where is testResetReader() defined?
testResetReader() is defined in handler/src/test/java/io/netty/handler/timeout/IdleStateHandlerTest.java at line 101.
What does testResetReader() call?
testResetReader() calls 1 function(s): anyNotIdle.

Analyze Your Own Codebase

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

Try Supermodel Free