public final class UnknownIpV4Option extends Object implements IpV4Packet.IpV4Option
Modifier and Type | Class and Description |
---|---|
static class |
UnknownIpV4Option.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
UnknownIpV4Option.Builder |
getBuilder() |
byte[] |
getData() |
byte |
getLength() |
int |
getLengthAsInt() |
byte[] |
getRawData() |
IpV4OptionType |
getType() |
int |
hashCode() |
int |
length() |
static UnknownIpV4Option |
newInstance(byte[] rawData) |
String |
toString() |
public static UnknownIpV4Option 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 byte getLength()
public int getLengthAsInt()
public byte[] getData()
public byte[] getRawData()
getRawData
in interface IpV4Packet.IpV4Option
public int length()
length
in interface IpV4Packet.IpV4Option
public UnknownIpV4Option.Builder getBuilder()
Copyright © 2014. All Rights Reserved.