public final class PropertiesBasedIpV6FlowLabelFactory extends Object implements PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>
| Modifier and Type | Method and Description |
|---|---|
static PropertiesBasedIpV6FlowLabelFactory |
getInstance() |
Class<? extends IpV6Packet.IpV6FlowLabel> |
getTargetClass() |
Class<? extends IpV6Packet.IpV6FlowLabel> |
getTargetClass(NotApplicable number)
Deprecated.
|
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)
Deprecated.
|
public static PropertiesBasedIpV6FlowLabelFactory getInstance()
@Deprecated public IpV6Packet.IpV6FlowLabel newInstance(byte[] rawData, int offset, int length, NotApplicable number)
newInstance in interface PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>rawData - rawDataoffset - offsetlength - lengthnumber - numberpublic IpV6Packet.IpV6FlowLabel newInstance(byte[] rawData, int offset, int length)
newInstance in interface PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>rawData - rawDataoffset - offsetlength - lengthpublic IpV6Packet.IpV6FlowLabel newInstance(byte[] rawData, int offset, int length, Class<? extends IpV6Packet.IpV6FlowLabel> clazz)
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthclazz - clazzIllegalStateException - 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.@Deprecated public Class<? extends IpV6Packet.IpV6FlowLabel> getTargetClass(NotApplicable number)
getTargetClass in interface PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>number - numberClass object this factory instantiates
by PacketFactory.newInstance(byte[], int, int, NamedNumber) with the number argument.public Class<? extends IpV6Packet.IpV6FlowLabel> getTargetClass()
getTargetClass in interface PacketFactory<IpV6Packet.IpV6FlowLabel,NotApplicable>Class object this factory instantiates
by PacketFactory.newInstance(byte[], int, int).Copyright © 2011–2016 Pcap4J.org. All rights reserved.