public class IPv6prefixXROSubobject extends XROSubobject
Modifier and Type | Field and Description |
---|---|
Inet6Address |
ipv6address |
int |
prefix |
attribute, erosolength, loosehop, subobject_bytes, type
Constructor and Description |
---|
IPv6prefixXROSubobject() |
IPv6prefixXROSubobject(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, getAttribute, getErosolength, getLength, getSubobject_bytes, getType, getType, isLoosehop, setAttribute, setErosolength, setLoosehop, setSubobject_bytes, setType
public Inet6Address ipv6address
public int prefix
public IPv6prefixXROSubobject()
public IPv6prefixXROSubobject(byte[] bytes, int offset)
public void encode()
encode
in class XROSubobject
public void decode()
decode
in class XROSubobject
public Inet6Address getIpv6address()
public void setIpv6address(Inet6Address ipv6address)
public int getPrefix()
public void setPrefix(int prefix)
Copyright © 2016. All rights reserved.