Package org.onosproject.net.behaviour
Class TunnelEndPoint<T>
- java.lang.Object
-
- org.onosproject.net.behaviour.TunnelEndPoint<T>
-
public final class TunnelEndPoint<T> extends java.lang.Object
Represents for source end point or destination end point of a tunnel. Maybe a tunnel based on ConnectPoint, IpAddress, MacAddress and so on is built.
-
-
Constructor Summary
Constructors Constructor Description TunnelEndPoint(T value)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
strValue()
Returns the value as a string.T
value()
Returns the value.
-
-
-
Constructor Detail
-
TunnelEndPoint
public TunnelEndPoint(T value)
Default constructor.- Parameters:
value
- value of the tunnel endpoint
-
-
Method Detail
-
value
public T value()
Returns the value.- Returns:
- tunnel endpoint value
-
strValue
public java.lang.String strValue()
Returns the value as a string.- Returns:
- string value
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-