public final class IpV6NeighborDiscoveryRedirectedHeaderOption extends Object implements IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
Modifier and Type | Class and Description |
---|---|
static class |
IpV6NeighborDiscoveryRedirectedHeaderOption.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IpV6NeighborDiscoveryRedirectedHeaderOption.Builder |
getBuilder() |
Packet |
getIpPacket() |
byte |
getLength() |
int |
getLengthAsInt() |
byte[] |
getRawData() |
byte[] |
getReserved() |
IpV6NeighborDiscoveryOptionType |
getType() |
int |
hashCode() |
int |
length() |
static IpV6NeighborDiscoveryRedirectedHeaderOption |
newInstance(byte[] rawData) |
String |
toString() |
public static IpV6NeighborDiscoveryRedirectedHeaderOption newInstance(byte[] rawData) throws IllegalRawDataException
rawData
- IllegalRawDataException
NullPointerException
- if the rawData argument is null.IllegalArgumentException
- if the rawData argument is empty.public IpV6NeighborDiscoveryOptionType getType()
getType
in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
public byte getLength()
public int getLengthAsInt()
public byte[] getReserved()
public Packet getIpPacket()
public int length()
length
in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
public byte[] getRawData()
getRawData
in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
public IpV6NeighborDiscoveryRedirectedHeaderOption.Builder getBuilder()
Copyright © 2014. All Rights Reserved.