Class Endpoint


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

      • Endpoint

        public Endpoint​(IpAddress host,
                        int port)
    • Method Detail

      • 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