public abstract class LispIpAddress extends LispAfiAddress
| Modifier and Type | Class and Description |
|---|---|
static class |
LispIpAddress.IpAddressReader
IP address reader class.
|
static class |
LispIpAddress.IpAddressWriter
IP address writer class.
|
LispAfiAddress.AfiAddressReader, LispAfiAddress.AfiAddressWriter| Modifier and Type | Field and Description |
|---|---|
protected org.onlab.packet.IpAddress |
address |
| Modifier | Constructor and Description |
|---|---|
protected |
LispIpAddress(org.onlab.packet.IpAddress address,
AddressFamilyIdentifierEnum afi)
Initializes LISP locator's IP address with AFI enum.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.onlab.packet.IpAddress |
getAddress()
Obtains LISP locator's IP address.
|
int |
hashCode() |
String |
toString() |
getAfiprotected LispIpAddress(org.onlab.packet.IpAddress address,
AddressFamilyIdentifierEnum afi)
address - IP addressafi - AFI enumpublic org.onlab.packet.IpAddress getAddress()
public int hashCode()
hashCode in class LispAfiAddresspublic boolean equals(Object obj)
equals in class LispAfiAddress