public class OPT extends Data
| Modifier and Type | Field and Description |
|---|---|
java.util.List<EdnsOption> |
variablePart |
| Constructor and Description |
|---|
OPT() |
OPT(java.util.List<EdnsOption> variablePart) |
| Modifier and Type | Method and Description |
|---|---|
Record.TYPE |
getType()
The payload type.
|
static OPT |
parse(java.io.DataInputStream dis,
int payloadLength) |
protected void |
serialize(java.io.DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
equals, hashCode, length, toByteArray, toOutputStreampublic final java.util.List<EdnsOption> variablePart
public OPT()
public OPT(java.util.List<EdnsOption> variablePart)
public static OPT parse(java.io.DataInputStream dis, int payloadLength) throws java.io.IOException
java.io.IOExceptionpublic Record.TYPE getType()
Dataprotected void serialize(java.io.DataOutputStream dos)
throws java.io.IOException
Data