Returns the address
()
| 70 | |
| 71 | /** Returns the address */ |
| 72 | public InetAddress |
| 73 | getAddress() { |
| 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 | |
| 85 | void |
| 86 | rrToWire(DNSOutput out, Compression c, boolean canonical) { |
nothing calls this directly
no test coverage detected