***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.connection
Class TCPIPServer

com.sas.services.connection.TCPIPServer
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
BridgeServer

public abstract class TCPIPServer

A base class to describe IOM servers that communicate with clients using a TCP/IP application protocol.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.services.connection.Server
AUTH_SERVICE_HOST, AUTH_SERVICE_METADATA, AUTH_SERVICE_NONE, AUTH_SERVICE_PROMPT, CLSID_ABM, CLSID_ABM_1_0, CLSID_OBJSPAWN, CLSID_OBJSPAWN_1_0, CLSID_OBJSPAWN_1_1, CLSID_POOLED_SAS, CLSID_POOLED_SAS_1_0, CLSID_SAS, CLSID_SAS_1_0, CLSID_SAS_1_1, CLSID_SAS_1_2, CLSID_SASGMS, CLSID_SASGMS_1_0, CLSID_SASMDX, CLSID_SASMDX_1_0, CLSID_SASMQX, CLSID_SASMQX_1_0, CLSID_SASOMI, CLSID_SASOMI_1_0, CLSID_SASOMI_1_1, CLSID_SASOMI_2_0, CLSID_SASSTP, CLSID_SASSTP_1_0, CLSID_SASTableServer, CLSID_SASTableServer_1_0, CLSID_UNDESIGNATED, OBJSPAWN_ID, SECURITY_PACKAGE_KERBEROS, SECURITY_PACKAGE_LIST_DEFAULT, SECURITY_PACKAGE_NEGOTIATE, SECURITY_PACKAGE_NTLM
 
Constructor Summary
TCPIPServer(java.lang.String classID, java.lang.String host, int port)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
 java.lang.String getHost()
          Get the host.
 java.lang.String getNormalizedHost()
          Get the normalized host.
 java.lang.String getOption(java.lang.String name)
          Get the value of the named option.
 int getPort()
          Get the port.
 int hashCode()
           
 java.lang.String removeOption(java.lang.String name)
          Remove a name option and its value.
 void setHost(java.lang.String host)
          Set the host.
 java.lang.String setOption(java.lang.String name, java.lang.String value)
          Set the value of the named option.
 void setPort(int port)
          Set the port.
 
Methods inherited from class com.sas.services.connection.Server
clone, fromURI, getAuthService, getClassID, getDomain, getMaxClients, getNormalizedClassID, getNormalizedSecurityPackage, getNormalizedSecurityPackageList, getReactivationLimit, getSecurityPackage, getSecurityPackageList, getServerComponentURI, getShutdownAfterMinutes, getSPN, normalizeSecurityPackage, normalizeSecurityPackageList, setAuthService, setClassID, setDomain, setMaxClients, setReactivationLimit, setSecurityPackage, setSecurityPackageList, setServerComponentURI, setShutdownAfterMinutes, setSPN, toString
 

Constructor Detail

TCPIPServer

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

setHost

public void setHost(java.lang.String host)
Set the host.

Parameters:
host - the host

getHost

public java.lang.String getHost()
Get the host.

Returns:
the host

getNormalizedHost

public java.lang.String getNormalizedHost()
Get the normalized host. The normalized host is all lowercase.

Returns:
the normalized host

setPort

public void setPort(int port)
Set the port.

Parameters:
port - the port

getPort

public int getPort()
Get the port.

Returns:
the port

getOption

public java.lang.String getOption(java.lang.String name)
Description copied from class: Server
Get the value of the named option.

Overrides:
getOption in class Server
Parameters:
name - the option name
Returns:
the value of the named option

setOption

public java.lang.String setOption(java.lang.String name,
                                  java.lang.String value)
Description copied from class: Server
Set the value of the named option.

Overrides:
setOption in class Server
Parameters:
name - the option name
value - the option value
Returns:
the previous option value

removeOption

public java.lang.String removeOption(java.lang.String name)
Description copied from class: Server
Remove a name option and its value.

Overrides:
removeOption in class Server
Parameters:
name - the option name
Returns:
the previous value

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class Server

hashCode

public int hashCode()
Overrides:
hashCode in class Server

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.