Package org.onlab.packet.dhcp
Class Dhcp6LeaseQueryOption
- java.lang.Object
- 
- org.onlab.packet.BasePacket
- 
- org.onlab.packet.dhcp.Dhcp6Option
- 
- org.onlab.packet.dhcp.Dhcp6LeaseQueryOption
 
 
 
- 
- All Implemented Interfaces:
- IPacket
 
 public final class Dhcp6LeaseQueryOption extends Dhcp6Option DHCPv6 Lease Query Option.
- 
- 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_LENIp6AddresslinkAddressbytequeryType- 
Fields inherited from class org.onlab.packet.dhcp.Dhcp6OptionUNSIGNED_SHORT_MASK
 - 
Fields inherited from class org.onlab.packet.BasePacketparent, payload
 
- 
 - 
Constructor SummaryConstructors Constructor Description Dhcp6LeaseQueryOption(Dhcp6Option dhcp6Option)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deserializer<Dhcp6Option>deserializer()booleanequals(Object obj)shortgetCode()Gets the code of this option.byte[]getData()Gets the data of this option.shortgetLength()Gets the length of this option.inthashCode()byte[]serialize()Sets all payloads parent packet if applicable, then serializes this packet and all payloads.StringtoString()- 
Methods inherited from class org.onlab.packet.dhcp.Dhcp6OptiongetToStringHelper, setCode, setData, setLength
 - 
Methods inherited from class org.onlab.packet.BasePacketclone, getParent, getPayload, resetChecksum, setParent, setPayload
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_LENpublic static final int DEFAULT_LEN - See Also:
- Constant Field Values
 
 - 
linkAddresspublic Ip6Address linkAddress 
 - 
queryTypepublic byte queryType 
 
- 
 - 
Constructor Detail- 
Dhcp6LeaseQueryOptionpublic Dhcp6LeaseQueryOption(Dhcp6Option dhcp6Option) 
 
- 
 - 
Method Detail- 
getCodepublic short getCode() Description copied from class:Dhcp6OptionGets the code of this option.- Overrides:
- getCodein class- Dhcp6Option
- Returns:
- the code
 
 - 
getLengthpublic short getLength() Description copied from class:Dhcp6OptionGets the length of this option.- Overrides:
- getLengthin class- Dhcp6Option
- Returns:
- the length of this option
 
 - 
getDatapublic byte[] getData() Description copied from class:Dhcp6OptionGets the data of this option.- Overrides:
- getDatain class- Dhcp6Option
- Returns:
- the data of this option
 
 - 
deserializerpublic static Deserializer<Dhcp6Option> deserializer() 
 - 
serializepublic byte[] serialize() Description copied from interface:IPacketSets all payloads parent packet if applicable, then serializes this packet and all payloads.- Specified by:
- serializein interface- IPacket
- Overrides:
- serializein class- Dhcp6Option
- Returns:
- a byte[] containing this packet and payloads
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Dhcp6Option
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- Dhcp6Option
 
 - 
equalspublic boolean equals(Object obj) - Overrides:
- equalsin class- Dhcp6Option
 
 
- 
 
-