Package org.onosproject.routing
Class NextHopGroupKey
- java.lang.Object
-
- org.onosproject.routing.NextHopGroupKey
-
public class NextHopGroupKey extends java.lang.Object
Identifier for a next hop group.
-
-
Constructor Summary
Constructors Constructor Description NextHopGroupKey(IpAddress address)
Creates a new next hop group key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpAddress
address()
Returns the next hop's IP address.boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
NextHopGroupKey
public NextHopGroupKey(IpAddress address)
Creates a new next hop group key.- Parameters:
address
- next hop's IP address
-
-
Method Detail
-
address
public IpAddress address()
Returns the next hop's IP address.- Returns:
- next hop's IP address
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-