com.esri.arcgis.geodatabasedistributed
Class OperationProgress

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

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

Helper coclass for working with the nondefault outbound IOperationProgress interface in VB.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
OperationProgress(Object obj)
          Construct a OperationProgress using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIOperationProgressListener(IOperationProgress theListener)
          addIOperationProgressListener.
 boolean equals(Object o)
          Compare this object with another
 int hashCode()
          the hashcode for this object
 void removeIOperationProgressListener(IOperationProgress theListener)
          removeIOperationProgressListener.
 
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

OperationProgress

public OperationProgress(Object obj)
                  throws IOException
Construct a OperationProgress using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to OperationProgress.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
OperationProgress o = (OperationProgress)obj; // will not work

OperationProgress o = new OperationProgress(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems OperationProgress theOperationProgress = (OperationProgress) obj;
Method Detail

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

addIOperationProgressListener

public void addIOperationProgressListener(IOperationProgress theListener)
                                   throws IOException
addIOperationProgressListener. Listen to events generated by this class.

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

removeIOperationProgressListener

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

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