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

Method getAddress

src/main/java/core/org/xbill/DNS/AAAARecord.java:72–83  ·  view source on GitHub ↗

Returns the address

()

Source from the content-addressed store, hash-verified

70
71/** Returns the address */
72public InetAddress
73getAddress() {
74 try {
75 if (name == null)
76 return InetAddress.getByAddress(address);
77 else
78 return InetAddress.getByAddress(name.toString(),
79 address);
80 } catch (UnknownHostException e) {
81 return null;
82 }
83}
84
85void
86rrToWire(DNSOutput out, Compression c, boolean canonical) {

Callers

nothing calls this directly

Calls 2

getByAddressMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected