public final class PropertiesBasedIpV4TosFactory extends Object implements PacketFactory<IpV4Packet.IpV4Tos,NA>
Modifier and Type | Method and Description |
---|---|
static PropertiesBasedIpV4TosFactory |
getInstance() |
Class<? extends IpV4Packet.IpV4Tos> |
getTargetClass() |
Class<? extends IpV4Packet.IpV4Tos> |
getTargetClass(NA number)
Deprecated.
|
IpV4Packet.IpV4Tos |
newInstance(byte[] rawData) |
IpV4Packet.IpV4Tos |
newInstance(byte[] rawData,
Class<? extends IpV4Packet.IpV4Tos> tosClass) |
IpV4Packet.IpV4Tos |
newInstance(byte[] rawData,
NA number)
Deprecated.
|
public static PropertiesBasedIpV4TosFactory getInstance()
@Deprecated public IpV4Packet.IpV4Tos newInstance(byte[] rawData, NA number)
newInstance
in interface PacketFactory<IpV4Packet.IpV4Tos,NA>
public IpV4Packet.IpV4Tos newInstance(byte[] rawData)
newInstance
in interface PacketFactory<IpV4Packet.IpV4Tos,NA>
public IpV4Packet.IpV4Tos newInstance(byte[] rawData, Class<? extends IpV4Packet.IpV4Tos> tosClass)
rawData
- tosClass
- @Deprecated public Class<? extends IpV4Packet.IpV4Tos> getTargetClass(NA number)
getTargetClass
in interface PacketFactory<IpV4Packet.IpV4Tos,NA>
Class
object this factory instantiates
by PacketFactory.newInstance(byte[], NamedNumber)
with the number argument.public Class<? extends IpV4Packet.IpV4Tos> getTargetClass()
getTargetClass
in interface PacketFactory<IpV4Packet.IpV4Tos,NA>
Class
object this factory instantiates
by PacketFactory.newInstance(byte[])
.Copyright © 2014. All Rights Reserved.