public class IPv4PrefixXROSubobject extends XROSubobject
| Modifier and Type | Field and Description |
|---|---|
Inet4Address |
ipv4address |
int |
prefix |
attribute, erosolength, loosehop, subobject_bytes, type| Constructor and Description |
|---|
IPv4PrefixXROSubobject() |
IPv4PrefixXROSubobject(byte[] bytes,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode() |
void |
encode() |
Inet4Address |
getIpv4address() |
int |
getPrefix() |
void |
setIpv4address(Inet4Address ipv4address) |
void |
setPrefix(int prefix) |
String |
toString() |
decodeSoHeader, encodeSoHeader, getAttribute, getErosolength, getLength, getSubobject_bytes, getType, getType, isLoosehop, setAttribute, setErosolength, setLoosehop, setSubobject_bytes, setTypepublic Inet4Address ipv4address
public int prefix
public IPv4PrefixXROSubobject()
public IPv4PrefixXROSubobject(byte[] bytes,
int offset)
public void encode()
encode in class XROSubobjectpublic void decode()
decode in class XROSubobjectpublic Inet4Address getIpv4address()
public void setIpv4address(Inet4Address ipv4address)
public int getPrefix()
public void setPrefix(int prefix)
Copyright © 2016. All rights reserved.