Home / Function/ getCity() — netty Function Reference

getCity() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  20386d92_a7d6_1513_4c03_dc533ea17dce["getCity()"]
  d14d3f3f_ddf6_f864_b1be_5eccb64e18ed["Builder"]
  20386d92_a7d6_1513_4c03_dc533ea17dce -->|defined in| d14d3f3f_ddf6_f864_b1be_5eccb64e18ed
  145fea17_6a78_97a4_2e4b_e84592a00322["getCity()"]
  145fea17_6a78_97a4_2e4b_e84592a00322 -->|calls| 20386d92_a7d6_1513_4c03_dc533ea17dce
  a776de43_3d12_a869_9e1b_f3001fa85805["Builder()"]
  a776de43_3d12_a869_9e1b_f3001fa85805 -->|calls| 20386d92_a7d6_1513_4c03_dc533ea17dce
  145fea17_6a78_97a4_2e4b_e84592a00322["getCity()"]
  20386d92_a7d6_1513_4c03_dc533ea17dce -->|calls| 145fea17_6a78_97a4_2e4b_e84592a00322
  style 20386d92_a7d6_1513_4c03_dc533ea17dce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java lines 855–866

      @Override
      public java.lang.String getCity() {
        java.lang.Object ref = city_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((com.google.protobuf.ByteString) ref)
              .toStringUtf8();
          city_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does getCity() do?
getCity() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java.
Where is getCity() defined?
getCity() is defined in example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java at line 855.
What does getCity() call?
getCity() calls 1 function(s): getCity.
What calls getCity()?
getCity() is called by 2 function(s): Builder, getCity.

Analyze Your Own Codebase

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

Try Supermodel Free