public final class PropertiesBasedIpV4InternetTimestampOptionDataFactory extends Object implements PacketFactory<IpV4InternetTimestampOption.IpV4InternetTimestampOptionData,IpV4InternetTimestampOptionFlag>
Modifier and Type | Method and Description |
---|---|
static PropertiesBasedIpV4InternetTimestampOptionDataFactory |
getInstance() |
Class<? extends IpV4InternetTimestampOption.IpV4InternetTimestampOptionData> |
getTargetClass() |
Class<? extends IpV4InternetTimestampOption.IpV4InternetTimestampOptionData> |
getTargetClass(IpV4InternetTimestampOptionFlag flag) |
IpV4InternetTimestampOption.IpV4InternetTimestampOptionData |
newInstance(byte[] rawData,
int offset,
int length) |
IpV4InternetTimestampOption.IpV4InternetTimestampOptionData |
newInstance(byte[] rawData,
int offset,
int length,
Class<? extends IpV4InternetTimestampOption.IpV4InternetTimestampOptionData> dataClass) |
IpV4InternetTimestampOption.IpV4InternetTimestampOptionData |
newInstance(byte[] rawData,
int offset,
int length,
IpV4InternetTimestampOptionFlag flag) |
public static PropertiesBasedIpV4InternetTimestampOptionDataFactory getInstance()
public IpV4InternetTimestampOption.IpV4InternetTimestampOptionData newInstance(byte[] rawData, int offset, int length, IpV4InternetTimestampOptionFlag flag)
newInstance
in interface PacketFactory<IpV4InternetTimestampOption.IpV4InternetTimestampOptionData,IpV4InternetTimestampOptionFlag>
public IpV4InternetTimestampOption.IpV4InternetTimestampOptionData newInstance(byte[] rawData, int offset, int length)
newInstance
in interface PacketFactory<IpV4InternetTimestampOption.IpV4InternetTimestampOptionData,IpV4InternetTimestampOptionFlag>
public IpV4InternetTimestampOption.IpV4InternetTimestampOptionData newInstance(byte[] rawData, int offset, int length, Class<? extends IpV4InternetTimestampOption.IpV4InternetTimestampOptionData> dataClass)
rawData
- offset
- length
- dataClass
- IllegalStateException
IllegalArgumentException
NullPointerException
public Class<? extends IpV4InternetTimestampOption.IpV4InternetTimestampOptionData> getTargetClass(IpV4InternetTimestampOptionFlag flag)
getTargetClass
in interface PacketFactory<IpV4InternetTimestampOption.IpV4InternetTimestampOptionData,IpV4InternetTimestampOptionFlag>
Class
object this factory instantiates
by #newInstance(byte[], NamedNumber)
with the number argument.public Class<? extends IpV4InternetTimestampOption.IpV4InternetTimestampOptionData> getTargetClass()
getTargetClass
in interface PacketFactory<IpV4InternetTimestampOption.IpV4InternetTimestampOptionData,IpV4InternetTimestampOptionFlag>
Class
object this factory instantiates
by #newInstance(byte[])
.Copyright © 2014. All Rights Reserved.