com.esri.arcgis.geodatabasedistributed
Class ReplicaProgress

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

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

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

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

ReplicaProgress

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

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

Throws:
IOException - if there are interop problems ReplicaProgress theReplicaProgress = (ReplicaProgress) 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

addIReplicaProgressListener

public void addIReplicaProgressListener(IReplicaProgress theListener)
                                 throws IOException
addIReplicaProgressListener. Listen to events generated by this class.

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

removeIReplicaProgressListener

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

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