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 Object
implements PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
- Since:
- pcap4j 0.9.16
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StaticIpV6FlowLabelFactoryClass<? extends IpV6Packet.IpV6FlowLabel> Class<? extends IpV6Packet.IpV6FlowLabel> getTargetClass(NotApplicable number) Deprecated.newInstance(byte[] rawData, int offset, int length) newInstance(byte[] rawData, int offset, int length, NotApplicable number) Deprecated.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StaticIpV6FlowLabelFactory
public StaticIpV6FlowLabelFactory()
-
-
Method Details
-
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
- Specified by:
newInstancein interfacePacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable> - Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new data object.
-
getTargetClass
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
- Specified by:
getTargetClassin interfacePacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable> - Returns:
- a
Classobject this factory instantiates byPacketFactory.newInstance(byte[], int, int).
-