Class Endpoint


  • public final class Endpoint
    extends java.lang.Object
    Representation of a TCP/UDP communication end point.
    • Constructor Summary

      Constructors 
      Constructor Description
      Endpoint​(org.onlab.packet.IpAddress host, int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      org.onlab.packet.IpAddress host()  
      int port()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Endpoint

        public Endpoint​(org.onlab.packet.IpAddress host,
                        int port)
    • Method Detail

      • host

        public org.onlab.packet.IpAddress host()
      • port

        public int port()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object