public final class StaticIpV4TosFactory extends Object implements PacketFactory<IpV4Packet.IpV4Tos,NotApplicable>
| Constructor and Description |
|---|
StaticIpV4TosFactory() |
| Modifier and Type | Method and Description |
|---|---|
static StaticIpV4TosFactory |
getInstance() |
Class<? extends IpV4Packet.IpV4Tos> |
getTargetClass() |
Class<? extends IpV4Packet.IpV4Tos> |
getTargetClass(NotApplicable number)
Deprecated.
|
IpV4Packet.IpV4Tos |
newInstance(byte[] rawData,
int offset,
int length) |
IpV4Packet.IpV4Tos |
newInstance(byte[] rawData,
int offset,
int length,
NotApplicable number)
Deprecated.
|
public static StaticIpV4TosFactory getInstance()
@Deprecated public IpV4Packet.IpV4Tos newInstance(byte[] rawData, int offset, int length, NotApplicable number)
newInstance in interface PacketFactory<IpV4Packet.IpV4Tos,NotApplicable>rawData - rawDataoffset - offsetlength - lengthnumber - numberpublic IpV4Packet.IpV4Tos newInstance(byte[] rawData, int offset, int length)
newInstance in interface PacketFactory<IpV4Packet.IpV4Tos,NotApplicable>rawData - rawDataoffset - offsetlength - length@Deprecated public Class<? extends IpV4Packet.IpV4Tos> getTargetClass(NotApplicable number)
getTargetClass in interface PacketFactory<IpV4Packet.IpV4Tos,NotApplicable>number - numberClass object this factory instantiates
by PacketFactory.newInstance(byte[], int, int, NamedNumber) with the number argument.public Class<? extends IpV4Packet.IpV4Tos> getTargetClass()
getTargetClass in interface PacketFactory<IpV4Packet.IpV4Tos,NotApplicable>Class object this factory instantiates
by PacketFactory.newInstance(byte[], int, int).Copyright © 2011–2016 Pcap4J.org. All rights reserved.