Class Origin.Address

  • Enclosing class:
    Origin

    public static class Origin.Address
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Address​(java.lang.String host, int port)  
    • Constructor Detail

      • Address

        public Address​(java.lang.String host,
                       int port)
    • Method Detail

      • getHost

        public java.lang.String getHost()
      • getPort

        public int getPort()
      • 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
      • asString

        public java.lang.String asString()
      • toString

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