com.esri.arcgis.system
Class ProxyServerInfo

java.lang.Object
  extended by com.esri.arcgis.system.ProxyServerInfo
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IProxyServerInfo, IProxyServerInfo2, java.io.Serializable

public class ProxyServerInfo
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IProxyServerInfo, IProxyServerInfo2

COM Class 'ProxyServerInfo'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'A utility class for setting proxy server configuration information.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IProxyServerInfo2
IID, IIDe724e8b4_f2fb_40ea_bf7e_eb296db6acda, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IProxyServerInfo
IIDfc221ff0_1240_43a0_8d76_3e917d029ce6
 
Constructor Summary
ProxyServerInfo()
          Constructs a ProxyServerInfo using ArcGIS Engine.
ProxyServerInfo(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ProxyServerInfo theProxyServerInfo = (ProxyServerInfo) obj;
 
Method Summary
 void cacheProxyCredentials()
          Cache proxy credentials.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getPassword()
          Proxy server user password.
 java.lang.String getProxyServer()
          Proxy server address.
 java.lang.String getUserName()
          Proxy server user name.
 int hashCode()
          the hashcode for this object
 boolean isCredentialsCancelled()
          Indicates credentials cancel state.
 boolean isEnabled()
          Indicates whether a proxy server is required.
 void readProxyServerInfo()
          Read proxy server configuration from the registry.
 void release()
          Release a ProxyServerInfo.
 void setCredentialsCancelled(boolean value)
          Indicates credentials cancel state.
 void setEnabled(boolean enabled)
          Indicates whether a proxy server is required.
 void setPassword(java.lang.String password)
          Proxy server user password.
 void setProxyServer(java.lang.String proxyServer)
          Proxy server address.
 void setUserName(java.lang.String userName)
          Proxy server user name.
 void writeProxyServerInfo()
          Write proxy server configuration to the registry.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyServerInfo

public ProxyServerInfo()
                throws java.io.IOException,
                       java.net.UnknownHostException
Constructs a ProxyServerInfo using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ProxyServerInfo

public ProxyServerInfo(java.lang.Object obj)
                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ProxyServerInfo theProxyServerInfo = (ProxyServerInfo) obj;

Construct a ProxyServerInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ProxyServerInfo.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ProxyServerInfo.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getUserName

public java.lang.String getUserName()
                             throws java.io.IOException,
                                    AutomationException
Proxy server user name.

Specified by:
getUserName in interface IProxyServerInfo
Returns:
The userName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUserName

public void setUserName(java.lang.String userName)
                 throws java.io.IOException,
                        AutomationException
Proxy server user name.

Specified by:
setUserName in interface IProxyServerInfo
Parameters:
userName - The userName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPassword

public java.lang.String getPassword()
                             throws java.io.IOException,
                                    AutomationException
Proxy server user password.

Specified by:
getPassword in interface IProxyServerInfo
Returns:
The password
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPassword

public void setPassword(java.lang.String password)
                 throws java.io.IOException,
                        AutomationException
Proxy server user password.

Specified by:
setPassword in interface IProxyServerInfo
Parameters:
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProxyServer

public java.lang.String getProxyServer()
                                throws java.io.IOException,
                                       AutomationException
Proxy server address.

Specified by:
getProxyServer in interface IProxyServerInfo
Returns:
The proxyServer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProxyServer

public void setProxyServer(java.lang.String proxyServer)
                    throws java.io.IOException,
                           AutomationException
Proxy server address.

Specified by:
setProxyServer in interface IProxyServerInfo
Parameters:
proxyServer - The proxyServer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnabled

public boolean isEnabled()
                  throws java.io.IOException,
                         AutomationException
Indicates whether a proxy server is required.

Specified by:
isEnabled in interface IProxyServerInfo
Returns:
The enabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnabled

public void setEnabled(boolean enabled)
                throws java.io.IOException,
                       AutomationException
Indicates whether a proxy server is required.

Specified by:
setEnabled in interface IProxyServerInfo
Parameters:
enabled - The enabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readProxyServerInfo

public void readProxyServerInfo()
                         throws java.io.IOException,
                                AutomationException
Read proxy server configuration from the registry.

Specified by:
readProxyServerInfo in interface IProxyServerInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeProxyServerInfo

public void writeProxyServerInfo()
                          throws java.io.IOException,
                                 AutomationException
Write proxy server configuration to the registry.

Specified by:
writeProxyServerInfo in interface IProxyServerInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCredentialsCancelled

public boolean isCredentialsCancelled()
                               throws java.io.IOException,
                                      AutomationException
Indicates credentials cancel state.

Specified by:
isCredentialsCancelled in interface IProxyServerInfo2
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCredentialsCancelled

public void setCredentialsCancelled(boolean value)
                             throws java.io.IOException,
                                    AutomationException
Indicates credentials cancel state.

Specified by:
setCredentialsCancelled in interface IProxyServerInfo2
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cacheProxyCredentials

public void cacheProxyCredentials()
                           throws java.io.IOException,
                                  AutomationException
Cache proxy credentials.

Specified by:
cacheProxyCredentials in interface IProxyServerInfo2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.