MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / rrFromWire

Method rrFromWire

src/main/java/core/org/xbill/DNS/GPOSRecord.java:80–91  ·  view source on GitHub ↗
(DNSInput in)

Source from the content-addressed store, hash-verified

78}
79
80void
81rrFromWire(DNSInput in) throws IOException {
82 longitude = in.readCountedString();
83 latitude = in.readCountedString();
84 altitude = in.readCountedString();
85 try {
86 validate(getLongitude(), getLatitude());
87 }
88 catch(IllegalArgumentException e) {
89 throw new WireParseException(e.getMessage());
90 }
91}
92
93void
94rdataFromString(Tokenizer st, Name origin) throws IOException {

Callers

nothing calls this directly

Calls 4

validateMethod · 0.95
getLongitudeMethod · 0.95
getLatitudeMethod · 0.95
readCountedStringMethod · 0.80

Tested by

no test coverage detected