public final class IpV4InternetTimestampOption extends Object implements IpV4Packet.IpV4Option
| Modifier and Type | Class and Description |
|---|---|
static class |
IpV4InternetTimestampOption.Builder |
static interface |
IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
The interface representing an IPv4 internet timestamp option data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
IpV4InternetTimestampOption.Builder |
getBuilder() |
IpV4InternetTimestampOption.IpV4InternetTimestampOptionData |
getData() |
IpV4InternetTimestampOptionFlag |
getFlag() |
byte |
getLength() |
int |
getLengthAsInt() |
byte |
getOverflow() |
int |
getOverflowAsInt() |
byte |
getPointer() |
int |
getPointerAsInt() |
byte[] |
getRawData() |
IpV4OptionType |
getType() |
int |
hashCode() |
int |
length() |
static IpV4InternetTimestampOption |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static IpV4InternetTimestampOption newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - offset - length - IllegalRawDataExceptionpublic IpV4OptionType getType()
getType in interface IpV4Packet.IpV4Optionpublic byte getLength()
public int getLengthAsInt()
public byte getPointer()
public int getPointerAsInt()
public byte getOverflow()
public int getOverflowAsInt()
public IpV4InternetTimestampOptionFlag getFlag()
public IpV4InternetTimestampOption.IpV4InternetTimestampOptionData getData()
public int length()
length in interface IpV4Packet.IpV4Optionpublic byte[] getRawData()
getRawData in interface IpV4Packet.IpV4Optionpublic IpV4InternetTimestampOption.Builder getBuilder()
Copyright © 2015. All Rights Reserved.