public final class IpV4StrictSourceRouteOption extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IpV4StrictSourceRouteOption.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IpV4StrictSourceRouteOption.Builder |
getBuilder() |
byte |
getLength() |
int |
getLengthAsInt() |
byte |
getPointer() |
int |
getPointerAsInt() |
byte[] |
getRawData() |
List<Inet4Address> |
getRouteData() |
IpV4OptionType |
getType() |
int |
hashCode() |
int |
length() |
static IpV4StrictSourceRouteOption |
newInstance(byte[] rawData) |
String |
toString() |
public static IpV4StrictSourceRouteOption newInstance(byte[] rawData) throws IllegalRawDataException
rawData
- IllegalRawDataException
NullPointerException
- if the rawData argument is null.IllegalArgumentException
- if the rawData argument is empty.public IpV4OptionType getType()
getType
in interface IpV4Packet.IpV4Option
public IpV4StrictSourceRouteOption.Builder getBuilder()
public byte getLength()
public int getLengthAsInt()
public byte getPointer()
public int getPointerAsInt()
public List<Inet4Address> getRouteData()
public int length()
length
in interface IpV4Packet.IpV4Option
public byte[] getRawData()
getRawData
in interface IpV4Packet.IpV4Option
Copyright © 2014. All Rights Reserved.