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.ObjectRepresents 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 booleanequals(java.lang.Object obj)inthashCode()java.lang.StringstrValue()Returns the value as a string.Tvalue()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:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
 - 
 
 -