public final class IpV4InternetTimestampOptionTimestamps extends Object implements IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
| Constructor and Description |
|---|
IpV4InternetTimestampOptionTimestamps(List<Integer> timestamps) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getRawData() |
List<Integer> |
getTimestamps() |
int |
hashCode() |
int |
length() |
static IpV4InternetTimestampOptionTimestamps |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static IpV4InternetTimestampOptionTimestamps 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 int length()
length in interface IpV4InternetTimestampOption.IpV4InternetTimestampOptionDatapublic byte[] getRawData()
getRawData in interface IpV4InternetTimestampOption.IpV4InternetTimestampOptionDataCopyright © 2011–2016 Pcap4J.org. All rights reserved.