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