| Constructor and Description |
|---|
DefaultHostRoute(org.onlab.packet.IpAddress nexthop,
org.onlab.packet.IpPrefix destination)
Creates a DefaultHostRoute by using the next hop and the destination.
|
| Modifier and Type | Method and Description |
|---|---|
org.onlab.packet.IpPrefix |
destination()
Returns the destination address.
|
boolean |
equals(Object obj) |
int |
hashCode() |
org.onlab.packet.IpAddress |
nexthop()
Returns the next hop address.
|
String |
toString() |
public DefaultHostRoute(org.onlab.packet.IpAddress nexthop,
org.onlab.packet.IpPrefix destination)
nexthop - of the DefaultHostRoutedestination - of the DefaultHostRoutepublic org.onlab.packet.IpAddress nexthop()
HostRoutepublic org.onlab.packet.IpPrefix destination()
HostRoutedestination in interface HostRoute