public final class Dhcp6ClientIdOption extends Dhcp6Option
DEFAULT_LEN, UNSIGNED_SHORT_MASKparent, payload| Constructor and Description |
|---|
Dhcp6ClientIdOption() |
| Modifier and Type | Method and Description |
|---|---|
static Deserializer<Dhcp6Option> |
deserializer() |
short |
getCode()
Gets the code of this option.
|
byte[] |
getData()
Gets the data of this option.
|
Dhcp6Duid |
getDuid() |
short |
getLength()
Gets the length of this option.
|
byte[] |
serialize()
Sets all payloads parent packet if applicable, then serializes this
packet and all payloads.
|
void |
setData(byte[] data)
Sets the data of this option.
|
void |
setDuid(Dhcp6Duid duid) |
java.lang.String |
toString() |
equals, getToStringHelper, hashCode, setCode, setLengthclone, getParent, getPayload, resetChecksum, setParent, setPayloadpublic short getCode()
Dhcp6OptiongetCode in class Dhcp6Optionpublic short getLength()
Dhcp6OptiongetLength in class Dhcp6Optionpublic byte[] getData()
Dhcp6OptiongetData in class Dhcp6Optionpublic void setData(byte[] data)
Dhcp6OptionsetData in class Dhcp6Optiondata - the data to setpublic Dhcp6Duid getDuid()
public void setDuid(Dhcp6Duid duid)
public static Deserializer<Dhcp6Option> deserializer()
public byte[] serialize()
IPacketserialize in interface IPacketserialize in class Dhcp6Optionpublic java.lang.String toString()
toString in class Dhcp6Option