Home / Function/ writeTo() — netty Function Reference

writeTo() — netty Function Reference

Architecture documentation for the writeTo() function in WorldClockProtocol.java from the netty codebase.

Function java Buffer Telemetry calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  0fc51093_a14d_05be_4d46_e273a0891e53["writeTo()"]
  e9c7c8dc_d563_0a18_9c8e_775b69c37841["Locations"]
  0fc51093_a14d_05be_4d46_e273a0891e53 -->|defined in| e9c7c8dc_d563_0a18_9c8e_775b69c37841
  789a178a_a83b_b94d_ac36_909b27f26a8b["writeTo()"]
  789a178a_a83b_b94d_ac36_909b27f26a8b -->|calls| 0fc51093_a14d_05be_4d46_e273a0891e53
  789a178a_a83b_b94d_ac36_909b27f26a8b["writeTo()"]
  0fc51093_a14d_05be_4d46_e273a0891e53 -->|calls| 789a178a_a83b_b94d_ac36_909b27f26a8b
  f6fdf078_7944_c30f_c1af_be10625296ff["getSerializedSize()"]
  0fc51093_a14d_05be_4d46_e273a0891e53 -->|calls| f6fdf078_7944_c30f_c1af_be10625296ff
  2698b468_42bf_fb10_7a6b_868579464bd9["getUnknownFields()"]
  0fc51093_a14d_05be_4d46_e273a0891e53 -->|calls| 2698b468_42bf_fb10_7a6b_868579464bd9
  style 0fc51093_a14d_05be_4d46_e273a0891e53 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java lines 1119–1127

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < location_.size(); i++) {
        output.writeMessage(1, location_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does writeTo() do?
writeTo() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java.
Where is writeTo() defined?
writeTo() is defined in example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java at line 1119.
What does writeTo() call?
writeTo() calls 3 function(s): getSerializedSize, getUnknownFields, writeTo.
What calls writeTo()?
writeTo() is called by 1 function(s): writeTo.

Analyze Your Own Codebase

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

Try Supermodel Free