パッケージ org.pcap4j.packet
クラス Dot11DsssParameterSetElement
- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement
-
- org.pcap4j.packet.Dot11DsssParameterSetElement
-
- すべての実装されたインタフェース:
Serializable
public final class Dot11DsssParameterSetElement extends Dot11InformationElement
IEEE802.11 DSSS Parameter Set element1 1 1 +---------------+---------------+---------------+ | Element ID | Length |Current Channel| +---------------+---------------+---------------+ Element ID: 3
The DSSS Parameter Set element contains information to allow channel number identification for STAs. The Information field contains a single parameter containing the dot11CurrentChannel. The length of the dot11CurrentChannel parameter is 1 octet.- 導入されたバージョン:
- pcap4j 1.7.0
- 作成者:
- Kaito Yamada
- 関連項目:
- IEEE802.11, 直列化された形式
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
Dot11DsssParameterSetElement.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
Dot11DsssParameterSetElement.Builder
getBuilder()
byte
getCurrentChannel()
int
getCurrentChannelAsInt()
byte[]
getRawData()
int
hashCode()
int
length()
static Dot11DsssParameterSetElement
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
String
toString(String indent)
-
クラスから継承されたメソッド org.pcap4j.packet.Dot11InformationElement
getElementId, getLength, getLengthAsInt
-
-
-
-
メソッドの詳細
-
newInstance
public static Dot11DsssParameterSetElement 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 Dot11DsssParameterSetElement object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getCurrentChannel
public byte getCurrentChannel()
- 戻り値:
- currentChannel
-
getCurrentChannelAsInt
public int getCurrentChannelAsInt()
- 戻り値:
- currentChannel
-
length
public int length()
- 定義:
length
クラス内Dot11InformationElement
- 戻り値:
- the length
-
getRawData
public byte[] getRawData()
- 定義:
getRawData
クラス内Dot11InformationElement
- 戻り値:
- the raw data.
-
getBuilder
public Dot11DsssParameterSetElement.Builder getBuilder()
- 戻り値:
- a new Builder object populated with this object's fields.
-
hashCode
public int hashCode()
- オーバーライド:
hashCode
クラス内Dot11InformationElement
-
equals
public boolean equals(Object obj)
- オーバーライド:
equals
クラス内Dot11InformationElement
-
-