com.esri.arcgis.catalog
Interface IGxWCSConnection

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxWCSConnection

public interface IGxWCSConnection
extends Serializable

Provides access to members to connect to an WCS server.

Description

This interface is new at ArcGIS 9.3.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void connect()
          Connects to the WCS service.
 void disconnect()
          Disconnects from the WCS service.
 IWCSConnectionName getWCSConnectionName()
          Assosicated name object used to connect to a WCS service.
 boolean isConnected()
          Indicates whether the server is connected to or not.
 void loadFromFile(String path)
          Loads a WCS connection file.
 void saveToFile(String path)
          Writes a WCS connection file.
 void setWCSConnectionNameByRef(IWCSConnectionName connectionName)
          Assosicated name object used to connect to a WCS service.
 

Method Detail

getWCSConnectionName

IWCSConnectionName getWCSConnectionName()
                                        throws IOException,
                                               AutomationException
Assosicated name object used to connect to a WCS service.

Product Availability

Available with ArcGIS Desktop.

Returns:
A reference to a com.esri.arcgis.gisclient.IWCSConnectionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWCSConnectionNameByRef

void setWCSConnectionNameByRef(IWCSConnectionName connectionName)
                               throws IOException,
                                      AutomationException
Assosicated name object used to connect to a WCS service.

Product Availability

Available with ArcGIS Desktop.

Parameters:
connectionName - A reference to a com.esri.arcgis.gisclient.IWCSConnectionName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromFile

void loadFromFile(String path)
                  throws IOException,
                         AutomationException
Loads a WCS connection file.

Product Availability

Available with ArcGIS Desktop.

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

saveToFile

void saveToFile(String path)
                throws IOException,
                       AutomationException
Writes a WCS connection file.

Product Availability

Available with ArcGIS Desktop.

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

isConnected

boolean isConnected()
                    throws IOException,
                           AutomationException
Indicates whether the server is connected to or not.

Product Availability

Available with ArcGIS Desktop.

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

connect

void connect()
             throws IOException,
                    AutomationException
Connects to the WCS service.

Product Availability

Available with ArcGIS Desktop.

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

disconnect

void disconnect()
                throws IOException,
                       AutomationException
Disconnects from the WCS service.

Product Availability

Available with ArcGIS Desktop.

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