public final class IllegalTcpOption extends Object implements TcpPacket.TcpOption
Modifier and Type | Class and Description |
---|---|
static class |
IllegalTcpOption.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IllegalTcpOption.Builder |
getBuilder() |
TcpOptionKind |
getKind() |
byte[] |
getRawData() |
int |
hashCode() |
int |
length() |
static IllegalTcpOption |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static IllegalTcpOption newInstance(byte[] rawData, int offset, int length)
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthpublic TcpOptionKind getKind()
getKind
in interface TcpPacket.TcpOption
public int length()
length
in interface TcpPacket.TcpOption
public byte[] getRawData()
getRawData
in interface TcpPacket.TcpOption
public IllegalTcpOption.Builder getBuilder()
Copyright © 2011–2016 Pcap4J.org. All rights reserved.