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) |
String |
toString() |
public IpV4InternetTimestampOptionAddressPrespecified(Inet4Address address, List<Integer> timestamps)
address
- timestamps
- public static IpV4InternetTimestampOptionAddressPrespecified newInstance(byte[] rawData) throws IllegalRawDataException
rawData
- IllegalRawDataException
NullPointerException
- if the rawData argument is null.IllegalArgumentException
- if the rawData argument is empty.public Inet4Address getAddress()
public int length()
length
in interface IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
public byte[] getRawData()
getRawData
in interface IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
Copyright © 2014. All Rights Reserved.