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