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