public final class Dhcp6RelayOption extends Dhcp6Option
DEFAULT_LEN, UNSIGNED_SHORT_MASKparent, payload| Constructor and Description |
|---|
Dhcp6RelayOption()
Default constructor.
|
Dhcp6RelayOption(Dhcp6Option dhcp6Option)
Constructs a DHCPv6 relay option with DHCPv6 option.
|
| Modifier and Type | Method and Description |
|---|---|
static Deserializer<Dhcp6Option> |
deserializer()
Gets deserializer for DHCPv6 relay option.
|
short |
getCode()
Gets the code of this option.
|
byte[] |
getData()
Gets the data of this option.
|
short |
getLength()
Gets the length of this option.
|
String |
toString() |
equals, getToStringHelper, hashCode, serialize, setCode, setData, setLengthclone, getParent, getPayload, resetChecksum, setParent, setPayloadpublic Dhcp6RelayOption()
public Dhcp6RelayOption(Dhcp6Option dhcp6Option)
dhcp6Option - the DHCPv6 optionpublic short getCode()
Dhcp6OptiongetCode in class Dhcp6Optionpublic short getLength()
Dhcp6OptiongetLength in class Dhcp6Optionpublic byte[] getData()
Dhcp6OptiongetData in class Dhcp6Optionpublic static Deserializer<Dhcp6Option> deserializer()
public String toString()
toString in class Dhcp6Option