| 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()
DatatoByteArray in interface Datapublic void parse(DataInputStream dis, byte[] data, int length) throws IOException
Dataparse in interface Datadis - 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()
DataCopyright © 2014–2015. All rights reserved.