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
|
protected void |
rdataFromString(Tokenizer st,
Name origin)
Converts the text format of an RR to the internal format - must be overriden
|
protected void |
rrFromWire(DNSInput in)
Converts the type-specific RR to wire format - must be overridden
|
protected String |
rrToString()
Converts rdata to a String
|
protected void |
rrToWire(DNSOutput out,
Compression c,
boolean canonical)
Converts the type-specific RR to wire format - must be overridden.
|
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 prefixprotected void rrFromWire(DNSInput in) throws IOException
Record
rrFromWire
in class Record
IOException
protected void rdataFromString(Tokenizer st, Name origin) throws IOException
Record
rdataFromString
in class Record
IOException
protected String rrToString()
rrToString
in class Record
public int getPrefixBits()
public InetAddress getSuffix()
public Name getPrefix()
protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
Record
Copyright © 2022 dnsjava.org. All rights reserved.