Home / Function/ doBeginRead() — netty Function Reference

doBeginRead() — netty Function Reference

Architecture documentation for the doBeginRead() function in AbstractKQueueChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  27e2f068_21f8_b525_8d80_d6260ea110e0["doBeginRead()"]
  e50a36fb_84e6_15bc_5dc3_edd4246018f8["AbstractKQueueChannel"]
  27e2f068_21f8_b525_8d80_d6260ea110e0 -->|defined in| e50a36fb_84e6_15bc_5dc3_edd4246018f8
  3bd34a66_5b18_71f2_d830_648eb55b1b4e["readFilter()"]
  27e2f068_21f8_b525_8d80_d6260ea110e0 -->|calls| 3bd34a66_5b18_71f2_d830_648eb55b1b4e
  style 27e2f068_21f8_b525_8d80_d6260ea110e0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java lines 189–199

    @Override
    protected final void doBeginRead() throws Exception {
        // Channel.read() or ChannelHandlerContext.read() was called
        final AbstractKQueueUnsafe unsafe = (AbstractKQueueUnsafe) unsafe();
        unsafe.readPending = true;

        // We must set the read flag here as it is possible the user didn't read in the last read loop, the
        // executeReadReadyRunnable could read nothing, and if the user doesn't explicitly call read they will
        // never get data after this.
        readFilter(true);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does doBeginRead() do?
doBeginRead() is a function in the netty codebase, defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java.
Where is doBeginRead() defined?
doBeginRead() is defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java at line 189.
What does doBeginRead() call?
doBeginRead() calls 1 function(s): readFilter.

Analyze Your Own Codebase

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

Try Supermodel Free