java.lang.Object
org.pcap4j.packet.IllegalIpV6RoutingData
- All Implemented Interfaces:
Serializable,IpV6ExtRoutingPacket.IpV6RoutingData
public final class IllegalIpV6RoutingData
extends Object
implements IpV6ExtRoutingPacket.IpV6RoutingData
- Since:
- pcap4j 0.9.11
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIllegalIpV6RoutingData(byte[] rawData, int offset, int length) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]inthashCode()intlength()static IllegalIpV6RoutingDatanewInstance(byte[] rawData, int offset, int length) A static factory method.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
rawData
private final byte[] rawData
-
-
Constructor Details
-
IllegalIpV6RoutingData
private IllegalIpV6RoutingData(byte[] rawData, int offset, int length)
-
-
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 IllegalIpV6RoutingData object.
-
length
public int length()- Specified by:
lengthin interfaceIpV6ExtRoutingPacket.IpV6RoutingData- Returns:
- length
-
getRawData
public byte[] getRawData()- Specified by:
getRawDatain interfaceIpV6ExtRoutingPacket.IpV6RoutingData- Returns:
- raw data
-
toString
-
equals
-
hashCode
public int hashCode()
-