public class A6Record extends Record
Constructor and Description |
---|
A6Record(Name name,
int dclass,
long ttl,
int prefixBits,
InetAddress suffix,
Name prefix)
Creates an A6 Record from the given data
|
Modifier and Type | Method and Description |
---|---|
Name |
getPrefix()
Returns the address prefix
|
int |
getPrefixBits()
Returns the number of bits in the prefix
|
InetAddress |
getSuffix()
Returns the address suffix
|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
public A6Record(Name name, int dclass, long ttl, int prefixBits, InetAddress suffix, Name prefix)
prefixBits
- The number of bits in the address prefixsuffix
- The address suffixprefix
- The name of the prefixpublic int getPrefixBits()
public InetAddress getSuffix()
public Name getPrefix()