Home / Function/ doWrite() — netty Function Reference

doWrite() — netty Function Reference

Architecture documentation for the doWrite() function in EmbeddedChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b43abad8_d56e_3e64_3b2c_d4b9b6e32ef4["doWrite()"]
  0bb3a58a_67ea_3870_31f9_00e0edf95132["EmbeddedChannel"]
  b43abad8_d56e_3e64_3b2c_d4b9b6e32ef4 -->|defined in| 0bb3a58a_67ea_3870_31f9_00e0edf95132
  090a0c41_0200_90da_445f_c8b581f8662c["handleOutboundMessage()"]
  b43abad8_d56e_3e64_3b2c_d4b9b6e32ef4 -->|calls| 090a0c41_0200_90da_445f_c8b581f8662c
  style b43abad8_d56e_3e64_3b2c_d4b9b6e32ef4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/embedded/EmbeddedChannel.java lines 1036–1048

    @Override
    protected void doWrite(ChannelOutboundBuffer in) throws Exception {
        for (;;) {
            Object msg = in.current();
            if (msg == null) {
                break;
            }

            ReferenceCountUtil.retain(msg);
            handleOutboundMessage(msg);
            in.remove();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does doWrite() do?
doWrite() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/embedded/EmbeddedChannel.java.
Where is doWrite() defined?
doWrite() is defined in transport/src/main/java/io/netty/channel/embedded/EmbeddedChannel.java at line 1036.
What does doWrite() call?
doWrite() calls 1 function(s): handleOutboundMessage.

Analyze Your Own Codebase

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

Try Supermodel Free