public final class IllegalIpV6Option extends java.lang.Object implements IpV6ExtOptionsPacket.IpV6Option, IllegalRawDataHolder
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
IllegalRawDataException |
getCause() |
byte[] |
getRawData() |
IpV6OptionType |
getType() |
int |
hashCode() |
int |
length() |
static IllegalIpV6Option |
newInstance(byte[] rawData,
int offset,
int length,
IllegalRawDataException cause)
A static factory method.
|
java.lang.String |
toString() |
public static IllegalIpV6Option 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 IpV6OptionType getType()
getType in interface IpV6ExtOptionsPacket.IpV6Optionpublic int length()
length in interface IpV6ExtOptionsPacket.IpV6Optionpublic byte[] getRawData()
getRawData in interface IllegalRawDataHoldergetRawData in interface IpV6ExtOptionsPacket.IpV6Optionpublic 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.