public class ProxyServerInfo extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IProxyServerInfo, IProxyServerInfo2
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 =
IID, IIDe724e8b4_f2fb_40ea_bf7e_eb296db6acda, xxDummy
IIDfc221ff0_1240_43a0_8d76_3e917d029ce6
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
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.
|
public ProxyServerInfo() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic ProxyServerInfo(java.lang.Object obj) throws java.io.IOException
ProxyServerInfo theProxyServerInfo = (ProxyServerInfo) obj;
obj
to ProxyServerInfo
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getUserName() throws java.io.IOException, AutomationException
getUserName
in interface IProxyServerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUserName(java.lang.String userName) throws java.io.IOException, AutomationException
setUserName
in interface IProxyServerInfo
userName
- The userName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPassword() throws java.io.IOException, AutomationException
getPassword
in interface IProxyServerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPassword(java.lang.String password) throws java.io.IOException, AutomationException
setPassword
in interface IProxyServerInfo
password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getProxyServer() throws java.io.IOException, AutomationException
getProxyServer
in interface IProxyServerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setProxyServer(java.lang.String proxyServer) throws java.io.IOException, AutomationException
setProxyServer
in interface IProxyServerInfo
proxyServer
- The proxyServer (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEnabled() throws java.io.IOException, AutomationException
isEnabled
in interface IProxyServerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setEnabled(boolean enabled) throws java.io.IOException, AutomationException
setEnabled
in interface IProxyServerInfo
enabled
- The enabled (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void readProxyServerInfo() throws java.io.IOException, AutomationException
readProxyServerInfo
in interface IProxyServerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeProxyServerInfo() throws java.io.IOException, AutomationException
writeProxyServerInfo
in interface IProxyServerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCredentialsCancelled() throws java.io.IOException, AutomationException
isCredentialsCancelled
in interface IProxyServerInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCredentialsCancelled(boolean value) throws java.io.IOException, AutomationException
setCredentialsCancelled
in interface IProxyServerInfo2
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void cacheProxyCredentials() throws java.io.IOException, AutomationException
cacheProxyCredentials
in interface IProxyServerInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.