Modifier and Type | Field and Description |
---|---|
DnsName |
next
The next owner name that contains a authoritative data or a delegation point.
|
Record.TYPE[] |
types
The RR types existing at the owner name.
|
Constructor and Description |
---|
NSEC(DnsName next,
Record.TYPE[] types) |
NSEC(String next,
Record.TYPE[] types) |
Modifier and Type | Method and Description |
---|---|
Record.TYPE |
getType()
The payload type.
|
static NSEC |
parse(DataInputStream dis,
byte[] data,
int length) |
void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
String |
toString() |
equals, hashCode, length, toByteArray, toOutputStream
public final DnsName next
public final Record.TYPE[] types
public NSEC(String next, Record.TYPE[] types)
public NSEC(DnsName next, Record.TYPE[] types)
public static NSEC parse(DataInputStream dis, byte[] data, int length) throws IOException
IOException
public Record.TYPE getType()
Data
public void serialize(DataOutputStream dos) throws IOException
Data
serialize
in class Data
dos
- the output stream to serialize to.IOException
- if an I/O error occurs.