com.esri.arcgis.carto
Interface IGFSReplicationAgent

All Superinterfaces:
Serializable
All Known Implementing Classes:
GFSReplicationAgent

public interface IGFSReplicationAgent
extends Serializable

Provides access to replica operations.

Product Availability

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


Method Summary
 void createReplica(IGraphicFeatureServer srcGFS, IWorkspace destWorkspace, String replicaName, IGFSReplicaDescription desc, IGPReplicaOptions repOptions, String layerFolder)
          Creates a replica pair and returns FeatureLayers.
 void synchronizeReplica(IGraphicFeatureServer trgGFS, IWorkspace srcWorkspace, String replicaName, int dir)
          Synchronize a feature package replica with graphic feature server replica.
 

Method Detail

createReplica

void createReplica(IGraphicFeatureServer srcGFS,
                   IWorkspace destWorkspace,
                   String replicaName,
                   IGFSReplicaDescription desc,
                   IGPReplicaOptions repOptions,
                   String layerFolder)
                   throws IOException,
                          AutomationException
Creates a replica pair and returns FeatureLayers.

Product Availability

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

Parameters:
srcGFS - A reference to a com.esri.arcgis.carto.IGraphicFeatureServer (in)
destWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
replicaName - The replicaName (in)
desc - A reference to a com.esri.arcgis.carto.IGFSReplicaDescription (in)
repOptions - A reference to a com.esri.arcgis.geodatabase.IGPReplicaOptions (in)
layerFolder - The layerFolder (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

synchronizeReplica

void synchronizeReplica(IGraphicFeatureServer trgGFS,
                        IWorkspace srcWorkspace,
                        String replicaName,
                        int dir)
                        throws IOException,
                               AutomationException
Synchronize a feature package replica with graphic feature server replica.

Product Availability

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

Parameters:
trgGFS - A reference to a com.esri.arcgis.carto.IGraphicFeatureServer (in)
srcWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
replicaName - The replicaName (in)
dir - A com.esri.arcgis.geodatabasedistributed.esriReplicaSynchronizeDirection constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.