com.esri.arcgis.system
Interface IProxyServerInfo

All Superinterfaces:
Serializable
All Known Subinterfaces:
IProxyServerInfo2
All Known Implementing Classes:
ProxyServerInfo

public interface IProxyServerInfo
extends Serializable

Provides access to members that control proxy server configuration.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 String getPassword()
          Proxy server user password.
 String getProxyServer()
          Proxy server address.
 String getUserName()
          Proxy server user name.
 boolean isEnabled()
          Indicates whether a proxy server is required.
 void readProxyServerInfo()
          Read proxy server configuration from the registry.
 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.
 

Method Detail

getUserName

String getUserName()
                   throws IOException,
                          AutomationException
Proxy server user name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The userName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUserName

void setUserName(String userName)
                 throws IOException,
                        AutomationException
Proxy server user name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
userName - The userName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPassword

String getPassword()
                   throws IOException,
                          AutomationException
Proxy server user password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The password
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPassword

void setPassword(String password)
                 throws IOException,
                        AutomationException
Proxy server user password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
password - The password (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProxyServer

String getProxyServer()
                      throws IOException,
                             AutomationException
Proxy server address.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The proxyServer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProxyServer

void setProxyServer(String proxyServer)
                    throws IOException,
                           AutomationException
Proxy server address.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
proxyServer - The proxyServer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnabled

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The enabled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnabled

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
enabled - The enabled (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readProxyServerInfo

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeProxyServerInfo

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.