public final class IpV6RoutingSourceRouteData extends java.lang.Object implements IpV6ExtRoutingPacket.IpV6RoutingData
| Constructor and Description |
|---|
IpV6RoutingSourceRouteData(int reserved,
java.util.List<java.net.Inet6Address> addresses) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
byte[] |
getRawData() |
int |
hashCode() |
int |
length() |
static IpV6RoutingSourceRouteData |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
public IpV6RoutingSourceRouteData(int reserved,
java.util.List<java.net.Inet6Address> addresses)
reserved - reservedaddresses - addressespublic static IpV6RoutingSourceRouteData newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthIllegalRawDataException - if parsing the raw data fails.public int length()
length in interface IpV6ExtRoutingPacket.IpV6RoutingDatapublic byte[] getRawData()
getRawData in interface IpV6ExtRoutingPacket.IpV6RoutingDatapublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.