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