public class NextHop extends Object
| Constructor and Description |
|---|
NextHop(org.onlab.packet.IpAddress ip,
org.onlab.packet.MacAddress mac,
NextHopGroupKey group)
Creates a new next hop.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
NextHopGroupKey |
group()
Returns the next hop group.
|
int |
hashCode() |
org.onlab.packet.IpAddress |
ip()
Returns the next hop's IP address.
|
org.onlab.packet.MacAddress |
mac()
Returns the next hop's MAC address.
|
String |
toString() |
public NextHop(org.onlab.packet.IpAddress ip,
org.onlab.packet.MacAddress mac,
NextHopGroupKey group)
ip - next hop's IP addressmac - next hop's MAC addressgroup - next hop's grouppublic org.onlab.packet.IpAddress ip()
public org.onlab.packet.MacAddress mac()
public NextHopGroupKey group()