パッケージ org.pcap4j.packet
クラス Dot11SsidElement
- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement
-
- org.pcap4j.packet.Dot11SsidElement
-
- すべての実装されたインタフェース:
Serializable
public final class Dot11SsidElement extends Dot11InformationElement
IEEE802.11 SSID element1 1 0-32 +----------+----------+------------- |Element ID| Length | SSID +----------+----------+------------- Element ID: 0A SSID field of length 0 is used within Probe Request management frames to indicate the wildcard SSID. The wildcard SSID is also used in Beacon and Probe Response frames transmitted by mesh STAs. When the UTF-8 SSID subfield of the Extended Capabilities element is equal to 1 in the frame that includes the SSID element, the SSID is interpreted using UTF-8 encoding.- 導入されたバージョン:
- pcap4j 1.7.0
- 作成者:
- Kaito Yamada
- 関連項目:
- IEEE802.11, 直列化された形式
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classDot11SsidElement.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 booleanequals(Object obj)Dot11SsidElement.BuildergetBuilder()byte[]getRawData()StringgetSsid()inthashCode()intlength()static Dot11SsidElementnewInstance(byte[] rawData, int offset, int length)A static factory method.StringtoString()StringtoString(String indent)-
クラスから継承されたメソッド org.pcap4j.packet.Dot11InformationElement
getElementId, getLength, getLengthAsInt
-
-
-
-
メソッドの詳細
-
newInstance
public static Dot11SsidElement 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 Dot11SsidElement object.
- 例外:
IllegalRawDataException- if parsing the raw data fails.
-
getSsid
public String getSsid()
- 戻り値:
- ssid
-
length
public int length()
- 定義:
lengthクラス内Dot11InformationElement- 戻り値:
- the length
-
getRawData
public byte[] getRawData()
- 定義:
getRawDataクラス内Dot11InformationElement- 戻り値:
- the raw data.
-
getBuilder
public Dot11SsidElement.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
-
-