com.esri.arcgis.geoprocessing
Class GPToolboxEventsHelper

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.GPToolboxEventsHelper
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GPToolboxEventsHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef

Helper for working with IGPToolboxEvents.

Product Availability

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

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
GPToolboxEventsHelper()
          Constructs a GPToolboxEventsHelper using ArcGIS Engine.
GPToolboxEventsHelper(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GPToolboxEventsHelper theGPToolboxEventsHelper = (GPToolboxEventsHelper) obj;
 
Method Summary
 void addIGPToolboxEventsListener(IGPToolboxEvents theListener)
          addIGPToolboxEventsListener.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void removeIGPToolboxEventsListener(IGPToolboxEvents theListener)
          removeIGPToolboxEventsListener.
 
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

GPToolboxEventsHelper

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

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

GPToolboxEventsHelper

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

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

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

addIGPToolboxEventsListener

public void addIGPToolboxEventsListener(IGPToolboxEvents theListener)
                                 throws IOException
addIGPToolboxEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geoprocessing.IGPToolboxEvents interface.
Throws:
IOException - If there are communications problems.

removeIGPToolboxEventsListener

public void removeIGPToolboxEventsListener(IGPToolboxEvents theListener)
                                    throws IOException
removeIGPToolboxEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geoprocessing.IGPToolboxEvents interface.
Throws:
IOException - If there are communications problems.