public class ResolvedRoute extends Object
| Constructor and Description |
|---|
ResolvedRoute(org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHop,
org.onlab.packet.MacAddress nextHopMac)
Creates a new resolved route.
|
ResolvedRoute(Route route,
org.onlab.packet.MacAddress nextHopMac)
Creates a new resolved route.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
org.onlab.packet.IpAddress |
nextHop()
Returns the next hop IP address.
|
org.onlab.packet.MacAddress |
nextHopMac()
Returns the next hop MAC address.
|
org.onlab.packet.IpPrefix |
prefix()
Returns the IP prefix.
|
String |
toString() |
public ResolvedRoute(Route route, org.onlab.packet.MacAddress nextHopMac)
route - input routenextHopMac - next hop MAC addresspublic ResolvedRoute(org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHop,
org.onlab.packet.MacAddress nextHopMac)
prefix - route prefixnextHop - route next hop IP addressnextHopMac - next hop MAC addresspublic org.onlab.packet.IpPrefix prefix()
public org.onlab.packet.IpAddress nextHop()
public org.onlab.packet.MacAddress nextHopMac()