Class HostPortPair

java.lang.Object
com.sas.services.connection.HostPortPair
All Implemented Interfaces:
Serializable

public class HostPortPair extends Object implements Serializable
Encapsulates the host and port information for a single server instance.
Since:
9.4
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    HostPortPair(String host, int port)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object obj)
     
    String
     
    int
     
    int
     
    String
     

    Methods inherited from class java.lang.Object

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

    • HostPortPair

      public HostPortPair(String host, int port)
  • Method Details

    • getHost

      public String getHost()
    • getPort

      public int getPort()
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object