public final class Dhcp6ClientIdOption extends Dhcp6Option
DEFAULT_LEN, UNSIGNED_SHORT_MASK
parent, 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, setLength
clone, getParent, getPayload, resetChecksum, setParent, setPayload
public short getCode()
Dhcp6Option
getCode
in class Dhcp6Option
public short getLength()
Dhcp6Option
getLength
in class Dhcp6Option
public byte[] getData()
Dhcp6Option
getData
in class Dhcp6Option
public void setData(byte[] data)
Dhcp6Option
setData
in class Dhcp6Option
data
- the data to setpublic Dhcp6Duid getDuid()
public void setDuid(Dhcp6Duid duid)
public static Deserializer<Dhcp6Option> deserializer()
public byte[] serialize()
IPacket
serialize
in interface IPacket
serialize
in class Dhcp6Option
public java.lang.String toString()
toString
in class Dhcp6Option