パッケージ org.pcap4j.packet
クラス TcpSackPermittedOption
- java.lang.Object
-
- org.pcap4j.packet.TcpSackPermittedOption
-
- すべての実装されたインタフェース:
Serializable,TcpPacket.TcpOption
public final class TcpSackPermittedOption extends Object implements TcpPacket.TcpOption
- 導入されたバージョン:
- pcap4j 1.2.0
- 作成者:
- Kaito Yamada
- 関連項目:
- 直列化された形式
-
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 static TcpSackPermittedOptiongetInstance()TcpOptionKindgetKind()bytegetLength()intgetLengthAsInt()byte[]getRawData()intlength()static TcpSackPermittedOptionnewInstance(byte[] rawData, int offset, int length)A static factory method.StringtoString()
-
-
-
メソッドの詳細
-
getInstance
public static TcpSackPermittedOption getInstance()
- 戻り値:
- the singleton instance of TcpSackPermittedOption.
-
newInstance
public static TcpSackPermittedOption 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- 戻り値:
- the singleton instance of TcpSackPermittedOption.
- 例外:
IllegalRawDataException- if parsing the raw data fails.
-
getKind
public TcpOptionKind getKind()
- 定義:
getKindインタフェース内TcpPacket.TcpOption- 戻り値:
- kind
-
getLength
public byte getLength()
- 戻り値:
- length
-
getLengthAsInt
public int getLengthAsInt()
- 戻り値:
- length
-
length
public int length()
- 定義:
lengthインタフェース内TcpPacket.TcpOption- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawDataインタフェース内TcpPacket.TcpOption- 戻り値:
- raw data
-
-