Class IllegalIpV6Option
java.lang.Object
org.pcap4j.packet.IllegalIpV6Option
- All Implemented Interfaces:
Serializable, IpV6ExtOptionsPacket.IpV6Option
- Since:
- pcap4j 0.9.11
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private static final longprivate final IpV6OptionType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIllegalIpV6Option(byte[] rawData, int offset, int length) private -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]getType()inthashCode()intlength()static IllegalIpV6OptionnewInstance(byte[] rawData, int offset, int length) A static factory method.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
-
rawData
private final byte[] rawData
-
-
Constructor Details
-
IllegalIpV6Option
private IllegalIpV6Option(byte[] rawData, int offset, int length) -
IllegalIpV6Option
-
-
Method Details
-
newInstance
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new IllegalIpV6Option object.
-
getType
- Specified by:
getTypein interfaceIpV6ExtOptionsPacket.IpV6Option- Returns:
- type
-
length
public int length()- Specified by:
lengthin interfaceIpV6ExtOptionsPacket.IpV6Option- Returns:
- length
-
getRawData
public byte[] getRawData()- Specified by:
getRawDatain interfaceIpV6ExtOptionsPacket.IpV6Option- Returns:
- raw data
-
getBuilder
- Returns:
- a new Builder object populated with this object's fields.
-
toString
-
equals
-
hashCode
-