パッケージ org.pcap4j.packet
クラス IpV4InternetTimestampOptionAddressPrespecified
- java.lang.Object
-
- org.pcap4j.packet.IpV4InternetTimestampOptionAddressPrespecified
-
- すべての実装されたインタフェース:
Serializable
,IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
public final class IpV4InternetTimestampOptionAddressPrespecified extends Object implements IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
- 導入されたバージョン:
- pcap4j 0.9.11
- 作成者:
- Kaito Yamada
- 関連項目:
- 直列化された形式
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 IpV4InternetTimestampOptionAddressPrespecified(Inet4Address address, List<Integer> timestamps)
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
Inet4Address
getAddress()
byte[]
getRawData()
List<Integer>
getTimestamps()
int
hashCode()
int
length()
static IpV4InternetTimestampOptionAddressPrespecified
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
-
-
-
コンストラクタの詳細
-
IpV4InternetTimestampOptionAddressPrespecified
public IpV4InternetTimestampOptionAddressPrespecified(Inet4Address address, List<Integer> timestamps)
- パラメータ:
address
- addresstimestamps
- timestamps
-
-
メソッドの詳細
-
newInstance
public static IpV4InternetTimestampOptionAddressPrespecified newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int)
, which may throw exceptions undocumented here.- パラメータ:
rawData
- rawDataoffset
- offsetlength
- length- 戻り値:
- a new IpV4InternetTimestampOptionAddressPrespecified object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getAddress
public Inet4Address getAddress()
- 戻り値:
- address
-
length
public int length()
- 定義:
length
インタフェース内IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawData
インタフェース内IpV4InternetTimestampOption.IpV4InternetTimestampOptionData
- 戻り値:
- raw data
-
-