クラス PropertiesBasedIpV6RoutingDataFactory
- java.lang.Object
-
- org.pcap4j.packet.factory.propertiesbased.PropertiesBasedIpV6RoutingDataFactory
-
- すべての実装されたインタフェース:
PacketFactory<IpV6ExtRoutingPacket.IpV6RoutingData,IpV6RoutingType>
public final class PropertiesBasedIpV6RoutingDataFactory extends Object implements PacketFactory<IpV6ExtRoutingPacket.IpV6RoutingData,IpV6RoutingType>
- 導入されたバージョン:
- pcap4j 0.9.14
- 作成者:
- Kaito Yamada
-
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 static PropertiesBasedIpV6RoutingDataFactorygetInstance()Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData>getTargetClass()Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData>getTargetClass(IpV6RoutingType type)IpV6ExtRoutingPacket.IpV6RoutingDatanewInstance(byte[] rawData, int offset, int length)IpV6ExtRoutingPacket.IpV6RoutingDatanewInstance(byte[] rawData, int offset, int length, Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> dataClass)IpV6ExtRoutingPacket.IpV6RoutingDatanewInstance(byte[] rawData, int offset, int length, IpV6RoutingType type)
-
-
-
メソッドの詳細
-
getInstance
public static PropertiesBasedIpV6RoutingDataFactory getInstance()
- 戻り値:
- the singleton instance of PropertiesBasedIpV6RoutingDataFactory.
-
newInstance
public IpV6ExtRoutingPacket.IpV6RoutingData newInstance(byte[] rawData, int offset, int length, IpV6RoutingType type)
-
newInstance
public IpV6ExtRoutingPacket.IpV6RoutingData newInstance(byte[] rawData, int offset, int length)
-
newInstance
public IpV6ExtRoutingPacket.IpV6RoutingData newInstance(byte[] rawData, int offset, int length, Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> dataClass)
- パラメータ:
rawData- rawDataoffset- offsetlength- lengthdataClass- dataClass- 戻り値:
- a new IpV6RoutingData object.
- 例外:
IllegalStateException- if an access to the newInstance method of the dataClass fails.IllegalArgumentException- if an exception other thanIllegalRawDataExceptionis thrown by newInstance method of the dataClass.NullPointerException- if any of arguments are null.
-
getTargetClass
public Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> getTargetClass(IpV6RoutingType type)
-
getTargetClass
public Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> getTargetClass()
-
-