パッケージ org.pcap4j.packet
クラス IcmpV6RouterAdvertisementPacket.IcmpV6RouterAdvertisementHeader
- java.lang.Object
-
- org.pcap4j.packet.AbstractPacket.AbstractHeader
-
- org.pcap4j.packet.IcmpV6RouterAdvertisementPacket.IcmpV6RouterAdvertisementHeader
-
- すべての実装されたインタフェース:
Serializable
,Packet.Header
- 含まれているクラス:
- IcmpV6RouterAdvertisementPacket
public static final class IcmpV6RouterAdvertisementPacket.IcmpV6RouterAdvertisementHeader extends AbstractPacket.AbstractHeader
- 導入されたバージョン:
- pcap4j 0.9.15
- 作成者:
- Kaito Yamada
- 関連項目:
- 直列化された形式
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 protected String
buildString()
This method builds the valuetoString()
will return.protected int
calcHashCode()
This method builds the valuehashCode()
will return using the byte arraygetRawData()
returns.protected int
calcLength()
This method calculates the valuelength()
will return by adding up the lengths of byte arrays in the listgetRawFields()
returns.boolean
equals(Object obj)
Indicates whether some other object is "equal to" this one using return values ofgetRawData()
.byte
getCurHopLimit()
int
getCurHopLimitAsInt()
boolean
getManagedAddressConfigurationFlag()
List<IcmpV6CommonPacket.IpV6NeighborDiscoveryOption>
getOptions()
boolean
getOtherConfigurationFlag()
protected List<byte[]>
getRawFields()
Returns a list of byte arrays which represents this header's fields.int
getReachableTime()
long
getReachableTimeAsLong()
int
getReserved()
int
getRetransTimer()
long
getRetransTimerAsLong()
short
getRouterLifetime()
int
getRouterLifetimeAsInt()
-
クラスから継承されたメソッド org.pcap4j.packet.AbstractPacket.AbstractHeader
buildHexString, buildRawData, getRawData, hashCode, length, toHexString, toString
-
-
-
-
メソッドの詳細
-
getCurHopLimit
public byte getCurHopLimit()
- 戻り値:
- curHopLimit
-
getCurHopLimitAsInt
public int getCurHopLimitAsInt()
- 戻り値:
- curHopLimit
-
getManagedAddressConfigurationFlag
public boolean getManagedAddressConfigurationFlag()
- 戻り値:
- managedAddressConfigurationFlag
-
getOtherConfigurationFlag
public boolean getOtherConfigurationFlag()
- 戻り値:
- otherConfigurationFlag
-
getReserved
public int getReserved()
- 戻り値:
- reserved
-
getRouterLifetime
public short getRouterLifetime()
- 戻り値:
- routerLifetime
-
getRouterLifetimeAsInt
public int getRouterLifetimeAsInt()
- 戻り値:
- routerLifetime
-
getReachableTime
public int getReachableTime()
- 戻り値:
- reachableTime
-
getReachableTimeAsLong
public long getReachableTimeAsLong()
- 戻り値:
- reachableTime
-
getRetransTimer
public int getRetransTimer()
- 戻り値:
- retransTimer
-
getRetransTimerAsLong
public long getRetransTimerAsLong()
- 戻り値:
- retransTimer
-
getOptions
public List<IcmpV6CommonPacket.IpV6NeighborDiscoveryOption> getOptions()
- 戻り値:
- options
-
getRawFields
protected List<byte[]> getRawFields()
クラスからコピーされた説明:AbstractPacket.AbstractHeader
Returns a list of byte arrays which represents this header's fields. This method is called bycalcLength()
andbuildRawData()
.- 定義:
getRawFields
クラス内AbstractPacket.AbstractHeader
- 戻り値:
- a list of byte arrays which represents this header's fields
-
calcLength
protected int calcLength()
クラスからコピーされた説明:AbstractPacket.AbstractHeader
This method calculates the valuelength()
will return by adding up the lengths of byte arrays in the listgetRawFields()
returns.- オーバーライド:
calcLength
クラス内AbstractPacket.AbstractHeader
- 戻り値:
- a calculated length
-
buildString
protected String buildString()
クラスからコピーされた説明:AbstractPacket.AbstractHeader
This method builds the valuetoString()
will return.- オーバーライド:
buildString
クラス内AbstractPacket.AbstractHeader
- 戻り値:
- a string representation of this object
-
equals
public boolean equals(Object obj)
クラスからコピーされた説明:AbstractPacket.AbstractHeader
Indicates whether some other object is "equal to" this one using return values ofgetRawData()
. This method should be overridden so that it does more strict comparisons more efficiently.- オーバーライド:
equals
クラス内AbstractPacket.AbstractHeader
-
calcHashCode
protected int calcHashCode()
クラスからコピーされた説明:AbstractPacket.AbstractHeader
This method builds the valuehashCode()
will return using the byte arraygetRawData()
returns. This method may be better to be overridden for performance reason.- オーバーライド:
calcHashCode
クラス内AbstractPacket.AbstractHeader
- 戻り値:
- a calculated hash code value for the object
-
-