Home / Function/ testResetWriter() — netty Function Reference

testResetWriter() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/timeout/IdleStateHandlerTest.java lines 116–129

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

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

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

Domain

Subdomains

Calls

Frequently Asked Questions

What does testResetWriter() do?
testResetWriter() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/timeout/IdleStateHandlerTest.java.
Where is testResetWriter() defined?
testResetWriter() is defined in handler/src/test/java/io/netty/handler/timeout/IdleStateHandlerTest.java at line 116.
What does testResetWriter() call?
testResetWriter() 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