public final class Dhcp6RelayOption extends Dhcp6Option
DEFAULT_LENparent, 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.
|
short |
getLength()
Gets the length of this option.
|
deserialize, equals, getData, getToStringHelper, hashCode, serialize, setCode, setData, setLength, toStringclone, 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 static Deserializer<Dhcp6Option> deserializer()