public class IPv6AddressRROSubobject extends RROSubobject
| Modifier and Type | Field and Description |
|---|---|
Inet6Address |
ipv6address |
int |
prefix |
rrosolength, subobject_bytes, type| Constructor and Description |
|---|
IPv6AddressRROSubobject() |
IPv6AddressRROSubobject(byte[] bytes,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode()
Decodes the body of the SubObject
|
void |
encode() |
Inet6Address |
getIpv6address() |
int |
getPrefix() |
void |
setIpv6address(Inet6Address ipv6address) |
void |
setPrefix(int prefix) |
decodeSoHeader, encodeSoHeader, getLength, getRrosolength, getSubobject_bytes, getType, getType, setRrosolength, setTypepublic Inet6Address ipv6address
public int prefix
public IPv6AddressRROSubobject()
public IPv6AddressRROSubobject(byte[] bytes,
int offset)
public void encode()
encode in class RROSubobjectpublic void decode()
decode in class RROSubobjectpublic Inet6Address getIpv6address()
public void setIpv6address(Inet6Address ipv6address)
public int getPrefix()
public void setPrefix(int prefix)
Copyright © 2016. All rights reserved.