public final class IllegalIpV6NeighborDiscoveryOption extends java.lang.Object implements IcmpV6CommonPacket.IpV6NeighborDiscoveryOption, IllegalRawDataHolder
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
IllegalRawDataException |
getCause() |
byte[] |
getRawData() |
IpV6NeighborDiscoveryOptionType |
getType() |
int |
hashCode() |
int |
length() |
static IllegalIpV6NeighborDiscoveryOption |
newInstance(byte[] rawData,
int offset,
int length,
IllegalRawDataException cause)
A static factory method.
|
java.lang.String |
toString() |
public static IllegalIpV6NeighborDiscoveryOption 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 IpV6NeighborDiscoveryOptionType getType()
getType in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOptionpublic int length()
length in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOptionpublic byte[] getRawData()
getRawData in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOptiongetRawData in interface IllegalRawDataHolderpublic 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.