Package org.pcap4j.packet.factory.statik
Class StaticIpV6FlowLabelFactory
- java.lang.Object
-
- org.pcap4j.packet.factory.statik.StaticIpV6FlowLabelFactory
-
- All Implemented Interfaces:
PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
public final class StaticIpV6FlowLabelFactory extends java.lang.Object implements PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
- Since:
- pcap4j 0.9.16
-
-
Field Summary
Fields Modifier and Type Field Description private static StaticIpV6FlowLabelFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description StaticIpV6FlowLabelFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StaticIpV6FlowLabelFactorygetInstance()java.lang.Class<? extends IpV6Packet.IpV6FlowLabel>getTargetClass()java.lang.Class<? extends IpV6Packet.IpV6FlowLabel>getTargetClass(NotApplicable number)Deprecated.IpV6Packet.IpV6FlowLabelnewInstance(byte[] rawData, int offset, int length)IpV6Packet.IpV6FlowLabelnewInstance(byte[] rawData, int offset, int length, NotApplicable number)Deprecated.
-
-
-
Field Detail
-
INSTANCE
private static final StaticIpV6FlowLabelFactory INSTANCE
-
-
Method Detail
-
getInstance
public static StaticIpV6FlowLabelFactory getInstance()
- Returns:
- the singleton instance of StaticIpV6FlowLabelFactory.
-
newInstance
@Deprecated public IpV6Packet.IpV6FlowLabel newInstance(byte[] rawData, int offset, int length, NotApplicable number)
Deprecated.- Specified by:
newInstancein interfacePacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>- Parameters:
rawData- rawDataoffset- offsetlength- lengthnumber- number- Returns:
- a new data object.
-
newInstance
public IpV6Packet.IpV6FlowLabel newInstance(byte[] rawData, int offset, int length)
- Specified by:
newInstancein interfacePacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>- Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new data object.
-
getTargetClass
@Deprecated public java.lang.Class<? extends IpV6Packet.IpV6FlowLabel> getTargetClass(NotApplicable number)
Deprecated.- Specified by:
getTargetClassin interfacePacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>- Parameters:
number- number- Returns:
- a
Classobject this factory instantiates byPacketFactory.newInstance(byte[], int, int, NamedNumber)with the number argument.
-
getTargetClass
public java.lang.Class<? extends IpV6Packet.IpV6FlowLabel> getTargetClass()
- Specified by:
getTargetClassin interfacePacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>- Returns:
- a
Classobject this factory instantiates byPacketFactory.newInstance(byte[], int, int).
-
-