org.xbill.DNS
Class A6Record
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.A6Record
- All Implemented Interfaces:
- Cloneable, Comparable
public class A6Record
- extends Record
A6 Record - maps a domain name to an IPv6 address (experimental)
- Author:
- Brian Wellington
Constructor Summary |
A6Record(Name name,
int dclass,
long ttl,
int prefixBits,
InetAddress suffix,
Name prefix)
Creates an A6 Record from the given data |
Methods inherited from class org.xbill.DNS.Record |
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 |
A6Record
public A6Record(Name name,
int dclass,
long ttl,
int prefixBits,
InetAddress suffix,
Name prefix)
- Creates an A6 Record from the given data
- Parameters:
prefixBits
- The number of bits in the address prefixsuffix
- The address suffixprefix
- The name of the prefix
getPrefixBits
public int getPrefixBits()
- Returns the number of bits in the prefix
getSuffix
public InetAddress getSuffix()
- Returns the address suffix
getPrefix
public Name getPrefix()
- Returns the address prefix