public class ARecord extends Record
| Constructor and Description |
|---|
ARecord() |
ARecord(Name name,
int dclass,
long ttl,
InetAddress address)
Creates an A Record from the given data
|
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getAddress()
Returns the Internet address
|
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkU16, checkU32, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withNamepublic ARecord()
public ARecord(Name name, int dclass, long ttl, InetAddress address)
address - The address that the name refers topublic InetAddress getAddress()
Copyright © 2021 McEvoy Software Ltd. All rights reserved.