com.esri.arcgis.arcweb
Interface IArcWebConnection

All Superinterfaces:
Serializable
All Known Implementing Classes:
ArcWebConnection, IArcWebConnectionProxy

public interface IArcWebConnection
extends Serializable

Provides access to members that access and describe an ArcWebConnection.

Product Availability

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


Method Summary
 void connect(String userName, String password, boolean useHTTPS, ITrackCancel pCancelTracker)
          Connects to an ArcWeb server.
 void disconnect()
          Disconnects an existing ArcWeb connection.
 String getVersion()
          Version number of the Arcweb service.
 boolean isSecure()
          Indicates if the connection is secure.
 boolean isValid()
          Indicates if the connection is valid.
 

Method Detail

connect

void connect(String userName,
             String password,
             boolean useHTTPS,
             ITrackCancel pCancelTracker)
             throws IOException,
                    AutomationException
Connects to an ArcWeb server.

Product Availability

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

Parameters:
userName - The userName (in)
password - The password (in)
useHTTPS - The useHTTPS (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

disconnect

void disconnect()
                throws IOException,
                       AutomationException
Disconnects an existing ArcWeb connection.

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.

isValid

boolean isValid()
                throws IOException,
                       AutomationException
Indicates if the connection is valid.

Product Availability

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

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

getVersion

String getVersion()
                  throws IOException,
                         AutomationException
Version number of the Arcweb service.

Product Availability

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

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

isSecure

boolean isSecure()
                 throws IOException,
                        AutomationException
Indicates if the connection is secure.

Product Availability

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

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