public final class TcpEndOfOptionList extends Object implements TcpPacket.TcpOption
| Modifier and Type | Method and Description |
|---|---|
static TcpEndOfOptionList |
getInstance() |
TcpOptionKind |
getKind() |
byte[] |
getRawData() |
int |
length() |
static TcpEndOfOptionList |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static TcpEndOfOptionList getInstance()
public static TcpEndOfOptionList newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthIllegalRawDataException - if parsing the raw data fails.public TcpOptionKind getKind()
getKind in interface TcpPacket.TcpOptionpublic int length()
length in interface TcpPacket.TcpOptionpublic byte[] getRawData()
getRawData in interface TcpPacket.TcpOptionCopyright © 2011–2016 Pcap4J.org. All rights reserved.