public final class Dhcp6CLTOption extends Dhcp6Option
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_LEN |
UNSIGNED_SHORT_MASKparent, payload| Constructor and Description |
|---|
Dhcp6CLTOption()
Default constructor.
|
Dhcp6CLTOption(Dhcp6Option dhcp6Option)
Constructs a DHCPv6 Client Last Transaction Time option.
|
| Modifier and Type | Method and Description |
|---|---|
static Deserializer<Dhcp6Option> |
deserializer()
Gets deserializer.
|
boolean |
equals(Object obj) |
int |
getClt()
Gets Client Last Transaction Time.
|
short |
getCode()
Gets the code 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.
|
void |
setClt(int clt)
Sets Identity Association ID.
|
String |
toString() |
getData, getToStringHelper, setCode, setData, setLengthclone, getParent, getPayload, resetChecksum, setParent, setPayloadpublic static final int DEFAULT_LEN
public Dhcp6CLTOption()
public Dhcp6CLTOption(Dhcp6Option dhcp6Option)
dhcp6Option - the DHCPv6 optionpublic short getCode()
Dhcp6OptiongetCode in class Dhcp6Optionpublic short getLength()
Dhcp6OptiongetLength in class Dhcp6Optionpublic int getClt()
public void setClt(int clt)
clt - the Client Last Transaction Time.public 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