public final class IpV4InternetTimestampOptionTimestamps extends java.lang.Object implements IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
| Constructor and Description |
|---|
IpV4InternetTimestampOptionTimestamps(java.util.List<java.lang.Integer> timestamps) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
byte[] |
getRawData() |
java.util.List<java.lang.Integer> |
getTimestamps() |
int |
hashCode() |
int |
length() |
static IpV4InternetTimestampOptionTimestamps |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
public IpV4InternetTimestampOptionTimestamps(java.util.List<java.lang.Integer> timestamps)
timestamps - timestampspublic 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 java.util.List<java.lang.Integer> getTimestamps()
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.