public final class IpV4NoOperationOption extends Object implements IpV4Packet.IpV4Option
Modifier and Type | Method and Description |
---|---|
static IpV4NoOperationOption |
getInstance() |
byte[] |
getRawData() |
IpV4OptionType |
getType() |
int |
length() |
static IpV4NoOperationOption |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static IpV4NoOperationOption getInstance()
public static IpV4NoOperationOption 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 IpV4OptionType getType()
getType
in interface IpV4Packet.IpV4Option
public int length()
length
in interface IpV4Packet.IpV4Option
public byte[] getRawData()
getRawData
in interface IpV4Packet.IpV4Option
Copyright © 2011–2016 Pcap4J.org. All rights reserved.