Constructor and Description |
---|
CNAME() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Record.TYPE |
getType()
The payload type.
|
void |
parse(DataInputStream dis,
byte[] data,
int length)
Parse this payload.
|
void |
setName(String name) |
byte[] |
toByteArray()
Binary representation of this payload.
|
String |
toString() |
protected String name
public String getName()
public void setName(String name)
public byte[] toByteArray()
Data
toByteArray
in interface Data
public void parse(DataInputStream dis, byte[] data, int length) throws IOException
Data
parse
in interface Data
dis
- The input stream.data
- The plain data (needed for name cross references).length
- The payload length.IOException
- on io error (read past paket boundary).public Record.TYPE getType()
Data
Copyright © 2014–2020. All rights reserved.