public final class IllegalIpV4Option extends java.lang.Object implements IpV4Packet.IpV4Option, IllegalRawDataHolder
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
IllegalRawDataException |
getCause() |
byte[] |
getRawData() |
IpV4OptionType |
getType() |
int |
hashCode() |
int |
length() |
static IllegalIpV4Option |
newInstance(byte[] rawData,
int offset,
int length,
IllegalRawDataException cause)
A static factory method.
|
java.lang.String |
toString() |
public static IllegalIpV4Option newInstance(byte[] rawData, int offset, int length, IllegalRawDataException cause)
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthcause - causepublic IpV4OptionType getType()
getType in interface IpV4Packet.IpV4Optionpublic int length()
length in interface IpV4Packet.IpV4Optionpublic byte[] getRawData()
getRawData in interface IllegalRawDataHoldergetRawData in interface IpV4Packet.IpV4Optionpublic IllegalRawDataException getCause()
getCause in interface IllegalRawDataHolderpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.