public final class PropertiesBasedIpV6RoutingDataFactory extends Object implements PacketFactory<IpV6ExtRoutingPacket.IpV6RoutingData,IpV6RoutingHeaderType>
Modifier and Type | Method and Description |
---|---|
static PropertiesBasedIpV6RoutingDataFactory |
getInstance() |
Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> |
getTargetClass() |
Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> |
getTargetClass(IpV6RoutingHeaderType type) |
IpV6ExtRoutingPacket.IpV6RoutingData |
newInstance(byte[] rawData) |
IpV6ExtRoutingPacket.IpV6RoutingData |
newInstance(byte[] rawData,
Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> dataClass) |
IpV6ExtRoutingPacket.IpV6RoutingData |
newInstance(byte[] rawData,
IpV6RoutingHeaderType type) |
public static PropertiesBasedIpV6RoutingDataFactory getInstance()
public IpV6ExtRoutingPacket.IpV6RoutingData newInstance(byte[] rawData, IpV6RoutingHeaderType type)
newInstance
in interface PacketFactory<IpV6ExtRoutingPacket.IpV6RoutingData,IpV6RoutingHeaderType>
public IpV6ExtRoutingPacket.IpV6RoutingData newInstance(byte[] rawData)
newInstance
in interface PacketFactory<IpV6ExtRoutingPacket.IpV6RoutingData,IpV6RoutingHeaderType>
public IpV6ExtRoutingPacket.IpV6RoutingData newInstance(byte[] rawData, Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> dataClass)
rawData
- dataClass
- public Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> getTargetClass(IpV6RoutingHeaderType type)
getTargetClass
in interface PacketFactory<IpV6ExtRoutingPacket.IpV6RoutingData,IpV6RoutingHeaderType>
Class
object this factory instantiates
by PacketFactory.newInstance(byte[], NamedNumber)
with the number argument.public Class<? extends IpV6ExtRoutingPacket.IpV6RoutingData> getTargetClass()
getTargetClass
in interface PacketFactory<IpV6ExtRoutingPacket.IpV6RoutingData,IpV6RoutingHeaderType>
Class
object this factory instantiates
by PacketFactory.newInstance(byte[])
.Copyright © 2014. All Rights Reserved.