org.xbill.DNS
Class A6Record
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.A6Record
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.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,
java.net.InetAddress suffix,
Name prefix)
Creates an A6 Record from the given data |
Method Summary |
Name |
getPrefix()
Returns the address prefix |
int |
getPrefixBits()
Returns the number of bits in the prefix |
java.net.InetAddress |
getSuffix()
Returns the address suffix |
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
A6Record
public A6Record(Name name,
int dclass,
long ttl,
int prefixBits,
java.net.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 java.net.InetAddress getSuffix()
- Returns the address suffix
getPrefix
public Name getPrefix()
- Returns the address prefix