クラス PropertiesBasedIpV6FlowLabelFactory
- java.lang.Object
-
- org.pcap4j.packet.factory.propertiesbased.PropertiesBasedIpV6FlowLabelFactory
-
- すべての実装されたインタフェース:
PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
public final class PropertiesBasedIpV6FlowLabelFactory extends Object implements PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
- 導入されたバージョン:
- pcap4j 0.9.14
- 作成者:
- Kaito Yamada
-
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 推奨されていないメソッド 修飾子とタイプ メソッド 説明 static PropertiesBasedIpV6FlowLabelFactory
getInstance()
Class<? extends IpV6Packet.IpV6FlowLabel>
getTargetClass()
Class<? extends IpV6Packet.IpV6FlowLabel>
getTargetClass(NotApplicable number)
推奨されていません。IpV6Packet.IpV6FlowLabel
newInstance(byte[] rawData, int offset, int length)
IpV6Packet.IpV6FlowLabel
newInstance(byte[] rawData, int offset, int length, Class<? extends IpV6Packet.IpV6FlowLabel> clazz)
A static factory method.IpV6Packet.IpV6FlowLabel
newInstance(byte[] rawData, int offset, int length, NotApplicable number)
推奨されていません。
-
-
-
メソッドの詳細
-
getInstance
public static PropertiesBasedIpV6FlowLabelFactory getInstance()
- 戻り値:
- the singleton instance of PropertiesBasedIpV6FlowLabelFactory.
-
newInstance
@Deprecated public IpV6Packet.IpV6FlowLabel newInstance(byte[] rawData, int offset, int length, NotApplicable number)
推奨されていません。- 定義:
newInstance
インタフェース内PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
- パラメータ:
rawData
- rawDataoffset
- offsetlength
- lengthnumber
- number- 戻り値:
- a new data object.
-
newInstance
public IpV6Packet.IpV6FlowLabel newInstance(byte[] rawData, int offset, int length)
- 定義:
newInstance
インタフェース内PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
- パラメータ:
rawData
- rawDataoffset
- offsetlength
- length- 戻り値:
- a new data object.
-
newInstance
public IpV6Packet.IpV6FlowLabel newInstance(byte[] rawData, int offset, int length, Class<? extends IpV6Packet.IpV6FlowLabel> clazz)
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int)
, which may throw exceptions undocumented here.- パラメータ:
rawData
- rawDataoffset
- offsetlength
- lengthclazz
- clazz- 戻り値:
- a new IpV6FlowLabel object.
- 例外:
IllegalStateException
- if an access to the newInstance method of the clazz fails.IllegalArgumentException
- if an exception is thrown by newInstance method of the clazz.NullPointerException
- if any of arguments are null.
-
getTargetClass
@Deprecated public Class<? extends IpV6Packet.IpV6FlowLabel> getTargetClass(NotApplicable number)
推奨されていません。- 定義:
getTargetClass
インタフェース内PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
- パラメータ:
number
- number- 戻り値:
- a
Class
object this factory instantiates byPacketFactory.newInstance(byte[], int, int, NamedNumber)
with the number argument.
-
getTargetClass
public Class<? extends IpV6Packet.IpV6FlowLabel> getTargetClass()
- 定義:
getTargetClass
インタフェース内PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
- 戻り値:
- a
Class
object this factory instantiates byPacketFactory.newInstance(byte[], int, int)
.
-
-