Class 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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object