com.esri.arcgis.geoprocessing
Class GPToolboxEvents2Helper

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

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

Helper for working with IGPToolboxEvents2.

Product Availability

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

See Also:
Serialized Form

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

GPToolboxEvents2Helper

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

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

GPToolboxEvents2Helper

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

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

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

addIGPToolboxEvents2Listener

public void addIGPToolboxEvents2Listener(IGPToolboxEvents2 theListener)
                                  throws IOException
addIGPToolboxEvents2Listener. Listen to events generated by this class.

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

removeIGPToolboxEvents2Listener

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

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