com.sas.services.connection
Class HostPortPair

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

public class HostPortPair
implements java.io.Serializable

Encapsulates the host and port information for a single server instance.

Since:
9.4
See Also:
Serialized Form

Constructor Summary
HostPortPair(java.lang.String host, int port)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHost()
           
 int getPort()
           
 int hashCode()
           
 java.lang.String toString()
           
 

Constructor Detail

HostPortPair

public HostPortPair(java.lang.String host,
                    int port)
Method Detail

getHost

public java.lang.String getHost()

getPort

public int getPort()

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

toString

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



Copyright © 2009 SAS Institute Inc. All Rights Reserved.