public final class UnknownIpV6Option extends Object implements IpV6ExtOptionsPacket.IpV6Option
Modifier and Type | Class and Description |
---|---|
static class |
UnknownIpV6Option.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
UnknownIpV6Option.Builder |
getBuilder() |
byte[] |
getData() |
byte |
getDataLen() |
int |
getDataLenAsInt() |
byte[] |
getRawData() |
IpV6OptionType |
getType() |
int |
hashCode() |
int |
length() |
static UnknownIpV6Option |
newInstance(byte[] rawData) |
String |
toString() |
public static UnknownIpV6Option newInstance(byte[] rawData) throws IllegalRawDataException
rawData
- IllegalRawDataException
NullPointerException
- if the rawData argument is null.IllegalArgumentException
- if the rawData argument is empty.public IpV6OptionType getType()
getType
in interface IpV6ExtOptionsPacket.IpV6Option
public byte getDataLen()
public int getDataLenAsInt()
public byte[] getData()
public byte[] getRawData()
getRawData
in interface IpV6ExtOptionsPacket.IpV6Option
public int length()
length
in interface IpV6ExtOptionsPacket.IpV6Option
public UnknownIpV6Option.Builder getBuilder()
Copyright © 2014. All Rights Reserved.