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 Search calls 1 called by 1

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java lines 497–511

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

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 497.
What does getCity() call?
getCity() calls 1 function(s): getCity.
What calls getCity()?
getCity() is called by 1 function(s): getCity.

Analyze Your Own Codebase

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

Try Supermodel Free