com.esri.arcgis.geodatabasedistributed
Interface IDataChanges3

All Superinterfaces:
IDataChanges, IDataChanges2, Serializable
All Known Implementing Classes:
ReplicationDataChanges

public interface IDataChanges3
extends IDataChanges2, Serializable

Provides access to members that get data changes from a check-out or replica.

Remarks

The IDataChanges3 interface has properties to return the generation numbers and replica state of the replica which is the source of the data changes. This interface is only available on the ReplicaDataChanges coclass.

Product Availability

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


Method Summary
 void getGenerationNumbers(int[] sourceGenBegin, int[] sourceGenEnd, int[] targetGen)
          Source and target generation numbers for replica.
 int getReplicaState()
          The state of the replica that is the source of the data changes.
 
Methods inherited from interface com.esri.arcgis.geodatabasedistributed.IDataChanges2
getChangesModelType
 
Methods inherited from interface com.esri.arcgis.geodatabasedistributed.IDataChanges
extract, getModifiedClassesInfo, getParentReplicaID, getParentWorkspaceName, getReplicaGuid
 

Method Detail

getGenerationNumbers

void getGenerationNumbers(int[] sourceGenBegin,
                          int[] sourceGenEnd,
                          int[] targetGen)
                          throws IOException,
                                 AutomationException
Source and target generation numbers for replica.

Product Availability

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

Parameters:
sourceGenBegin - The sourceGenBegin (out: use single element array)
sourceGenEnd - The sourceGenEnd (out: use single element array)
targetGen - The targetGen (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaState

int getReplicaState()
                    throws IOException,
                           AutomationException
The state of the replica that is the source of the data changes.

Remarks

Returns the replica state which is the source of the data changes. The replica can be in a sending data state, sending acknowledgement state, or a waiting for data state. See the esriReplicaState enumeration for more information.

Product Availability

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

Returns:
A com.esri.arcgis.geodatabase.esriReplicaState constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.