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) |
String |
toString() |
public static TcpEndOfOptionList getInstance()
public static TcpEndOfOptionList newInstance(byte[] rawData) throws IllegalRawDataException
rawData
- IllegalRawDataException
NullPointerException
- if the rawData argument is null.IllegalArgumentException
- if the rawData argument is empty.public TcpOptionKind getKind()
getKind
in interface TcpPacket.TcpOption
public int length()
length
in interface TcpPacket.TcpOption
public byte[] getRawData()
getRawData
in interface TcpPacket.TcpOption
Copyright © 2014. All Rights Reserved.