|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.ProxyServerInfo
public class ProxyServerInfo
A utility class for setting proxy server configuration information.
Constructor Summary | |
---|---|
ProxyServerInfo()
Constructs a ProxyServerInfo using ArcGIS Engine. |
|
ProxyServerInfo(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(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
String |
getPassword()
Proxy server user password. |
String |
getProxyServer()
Proxy server address. |
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 |
setCredentialsCancelled(boolean value)
Indicates credentials cancel state. |
void |
setEnabled(boolean enabled)
Indicates whether a proxy server is required. |
void |
setPassword(String password)
Proxy server user password. |
void |
setProxyServer(String proxyServer)
Proxy server address. |
void |
setUserName(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ProxyServerInfo() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ProxyServerInfo(Object obj) throws IOException
ProxyServerInfo theProxyServerInfo = (ProxyServerInfo) obj;
obj
to ProxyServerInfo
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getUserName() throws IOException, AutomationException
getUserName
in interface IProxyServerInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUserName(String userName) throws IOException, AutomationException
setUserName
in interface IProxyServerInfo
userName
- The userName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPassword() throws IOException, AutomationException
getPassword
in interface IProxyServerInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPassword(String password) throws IOException, AutomationException
setPassword
in interface IProxyServerInfo
password
- The password (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getProxyServer() throws IOException, AutomationException
getProxyServer
in interface IProxyServerInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProxyServer(String proxyServer) throws IOException, AutomationException
setProxyServer
in interface IProxyServerInfo
proxyServer
- The proxyServer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnabled() throws IOException, AutomationException
isEnabled
in interface IProxyServerInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnabled(boolean enabled) throws IOException, AutomationException
setEnabled
in interface IProxyServerInfo
enabled
- The enabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void readProxyServerInfo() throws IOException, AutomationException
readProxyServerInfo
in interface IProxyServerInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeProxyServerInfo() throws IOException, AutomationException
writeProxyServerInfo
in interface IProxyServerInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCredentialsCancelled() throws IOException, AutomationException
isCredentialsCancelled
in interface IProxyServerInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCredentialsCancelled(boolean value) throws IOException, AutomationException
setCredentialsCancelled
in interface IProxyServerInfo2
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void cacheProxyCredentials() throws IOException, AutomationException
cacheProxyCredentials
in interface IProxyServerInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |