public final class Dhcp6LeaseQueryOption extends Dhcp6Option
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_LEN |
Ip6Address |
linkAddress |
byte |
queryType |
UNSIGNED_SHORT_MASKparent, payload| Constructor and Description |
|---|
Dhcp6LeaseQueryOption(Dhcp6Option dhcp6Option) |
| Modifier and Type | Method and Description |
|---|---|
static Deserializer<Dhcp6Option> |
deserializer() |
boolean |
equals(Object obj) |
short |
getCode()
Gets the code of this option.
|
byte[] |
getData()
Gets the data of this option.
|
short |
getLength()
Gets the length of this option.
|
int |
hashCode() |
byte[] |
serialize()
Sets all payloads parent packet if applicable, then serializes this
packet and all payloads.
|
String |
toString() |
getToStringHelper, setCode, setData, setLengthclone, getParent, getPayload, resetChecksum, setParent, setPayloadpublic static final int DEFAULT_LEN
public Ip6Address linkAddress
public byte queryType
public Dhcp6LeaseQueryOption(Dhcp6Option dhcp6Option)
public short getCode()
Dhcp6OptiongetCode in class Dhcp6Optionpublic short getLength()
Dhcp6OptiongetLength in class Dhcp6Optionpublic byte[] getData()
Dhcp6OptiongetData in class Dhcp6Optionpublic static Deserializer<Dhcp6Option> deserializer()
public byte[] serialize()
IPacketserialize in interface IPacketserialize in class Dhcp6Optionpublic String toString()
toString in class Dhcp6Optionpublic int hashCode()
hashCode in class Dhcp6Optionpublic boolean equals(Object obj)
equals in class Dhcp6Option