public final class Dhcp6RelayOption extends Dhcp6Option
DEFAULT_LEN, UNSIGNED_SHORT_MASK
parent, 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, setLength
clone, getParent, getPayload, resetChecksum, setParent, setPayload
public Dhcp6RelayOption()
public Dhcp6RelayOption(Dhcp6Option dhcp6Option)
dhcp6Option
- the DHCPv6 optionpublic short getCode()
Dhcp6Option
getCode
in class Dhcp6Option
public short getLength()
Dhcp6Option
getLength
in class Dhcp6Option
public byte[] getData()
Dhcp6Option
getData
in class Dhcp6Option
public static Deserializer<Dhcp6Option> deserializer()
public String toString()
toString
in class Dhcp6Option