@Deprecated public class RouteEntry extends Object
| Constructor and Description |
|---|
RouteEntry(org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHop)
Deprecated.
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
createBinaryString(org.onlab.packet.IpPrefix ipPrefix)
Deprecated.
Creates the binary string representation of an IP prefix.
|
boolean |
equals(Object other)
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isIp4()
Deprecated.
Tests whether the IP version of this address is IPv4.
|
boolean |
isIp6()
Deprecated.
Tests whether the IP version of this address is IPv6.
|
org.onlab.packet.IpAddress |
nextHop()
Deprecated.
Returns the next hop IP address for the route.
|
org.onlab.packet.IpPrefix |
prefix()
Deprecated.
Returns the IP prefix of the route.
|
String |
toString()
Deprecated.
|
org.onlab.packet.IpAddress.Version |
version()
Deprecated.
Returns the IP version of the route.
|
public RouteEntry(org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHop)
prefix - the IP prefix of the routenextHop - the next hop IP address for the routepublic org.onlab.packet.IpAddress.Version version()
public boolean isIp4()
public boolean isIp6()
public org.onlab.packet.IpPrefix prefix()
public org.onlab.packet.IpAddress nextHop()
public static String createBinaryString(org.onlab.packet.IpPrefix ipPrefix)
ipPrefix - the IP prefix to use