|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lavantech.net.dns.ResourceRecord com.lavantech.net.dns.A6Record
A6Record represents all information in a DNS A6 Record.
Constructor Summary | |
A6Record(java.lang.String rname,
int rtype,
int rclass,
long ttl,
int prefixLen,
byte[] suffixAddress,
java.lang.String prefixName)
Creates a A6Record with all the required information. |
Method Summary | |
byte[] |
getAddressSuffix()
Returns the raw suffix address, 128 - prefix length bits are returned in the byte array. |
int |
getPrefixLength()
Returns the length (number of bits) of the prefix. |
java.lang.String |
getPrefixName()
The Address Prefix Name, this name has to be resolved to get the complete IPv6 address |
java.lang.String |
toString()
Returns a string representation of the record. |
Methods inherited from class com.lavantech.net.dns.ResourceRecord |
getResourceClass, getResourceName, getResourceType, getTTL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public A6Record(java.lang.String rname, int rtype, int rclass, long ttl, int prefixLen, byte[] suffixAddress, java.lang.String prefixName)
rname
- Record Name (Hostname)rtype
- Record Typerclass
- Record Classttl
- Time to Live, time in seconds after which the record will expire.prefixLen
- Length of prefix bits.suffixAddress
- Suffix Address bits. 128 - prefixLen number of bits.prefixName
- Prefix Name that needs to be resolved to get
the prefix address bits.Method Detail |
public int getPrefixLength()
public byte[] getAddressSuffix()
public java.lang.String getPrefixName()
public java.lang.String toString()
toString
in class ResourceRecord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |