com.esri.arcgis.gisclient
Class WCSConnectionFactory

java.lang.Object
  extended by com.esri.arcgis.gisclient.WCSConnectionFactory
All Implemented Interfaces:
IWCSConnectionFactory, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class WCSConnectionFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IWCSConnectionFactory

A factory object for WCS Connections.

Description

This object is new at ArcGIS 9.3.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
WCSConnectionFactory()
          Constructs a WCSConnectionFactory using ArcGIS Engine.
WCSConnectionFactory(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WCSConnectionFactory theWCSConnectionFactory = (WCSConnectionFactory) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 IWCSConnection open(IPropertySet pConnectionProperties, int hWnd, ITrackCancel pTrackCancel)
          Opens an WCS connection for the given properties.
 
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

WCSConnectionFactory

public WCSConnectionFactory()
                     throws IOException,
                            UnknownHostException
Constructs a WCSConnectionFactory using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

WCSConnectionFactory

public WCSConnectionFactory(Object obj)
                     throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WCSConnectionFactory theWCSConnectionFactory = (WCSConnectionFactory) obj;

Construct a WCSConnectionFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to WCSConnectionFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

open

public IWCSConnection open(IPropertySet pConnectionProperties,
                           int hWnd,
                           ITrackCancel pTrackCancel)
                    throws IOException,
                           AutomationException
Opens an WCS connection for the given properties.

Product Availability

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

Specified by:
open in interface IWCSConnectionFactory
Parameters:
pConnectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
hWnd - The hWnd (A COM typedef) (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IWCSConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.