| Modifier and Type | Field and Description |
|---|---|
List<EdnsOption> |
variablePart |
| Constructor and Description |
|---|
OPT() |
OPT(List<EdnsOption> variablePart) |
| Modifier and Type | Method and Description |
|---|---|
Record.TYPE |
getType()
The payload type.
|
static OPT |
parse(DataInputStream dis,
int payloadLength) |
protected void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
equals, hashCode, length, toByteArray, toOutputStream, toOutputStreampublic final List<EdnsOption> variablePart
public OPT()
public OPT(List<EdnsOption> variablePart)
public Record.TYPE getType()
Datapublic static OPT parse(DataInputStream dis, int payloadLength) throws IOException
IOExceptionprotected void serialize(DataOutputStream dos) throws IOException
Dataserialize in class Datados - the output stream to serialize to.IOException - if an I/O error occurs.