public final class Dhcp6ClientDataOption extends Dhcp6Option
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LEN |
UNSIGNED_SHORT_MASK
parent, payload
Constructor and Description |
---|
Dhcp6ClientDataOption(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.
|
Ip6Address |
getIaAddress() |
short |
getLength()
Gets the length of this option.
|
List<Dhcp6Option> |
getOptions() |
int |
hashCode() |
byte[] |
serialize()
Sets all payloads parent packet if applicable, then serializes this
packet and all payloads.
|
String |
toString() |
getToStringHelper, setCode, setData, setLength
clone, getParent, getPayload, resetChecksum, setParent, setPayload
public static final int DEFAULT_LEN
public Dhcp6ClientDataOption(Dhcp6Option dhcp6Option)
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 List<Dhcp6Option> getOptions()
public Ip6Address getIaAddress()
public static Deserializer<Dhcp6Option> deserializer()
public byte[] serialize()
IPacket
serialize
in interface IPacket
serialize
in class Dhcp6Option
public String toString()
toString
in class Dhcp6Option
public int hashCode()
hashCode
in class Dhcp6Option
public boolean equals(Object obj)
equals
in class Dhcp6Option