public class ResolvedRoute extends Object
| Constructor and Description |
|---|
ResolvedRoute(org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHop,
org.onlab.packet.MacAddress nextHopMac,
ConnectPoint location)
Creates a new resolved route.
|
ResolvedRoute(Route route,
org.onlab.packet.MacAddress nextHopMac,
ConnectPoint location)
Creates a new resolved route.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
ConnectPoint |
location()
Returns the next hop location.
|
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, ConnectPoint location)
route - input routenextHopMac - next hop MAC addresslocation - connect point where the next hop connects topublic ResolvedRoute(org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHop,
org.onlab.packet.MacAddress nextHopMac,
ConnectPoint location)
prefix - route prefixnextHop - route next hop IP addressnextHopMac - next hop MAC addresslocation - connect point where the next hop connects topublic org.onlab.packet.IpPrefix prefix()
public org.onlab.packet.IpAddress nextHop()
public org.onlab.packet.MacAddress nextHopMac()
public ConnectPoint location()