com.esri.arcgis.carto
Class GFSReplicationAgent

java.lang.Object
  extended by com.esri.arcgis.carto.GFSReplicationAgent
All Implemented Interfaces:
IGFSReplicationAgent, IConnectionPointContainer, IReplicationAgentCancelControl, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class GFSReplicationAgent
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGFSReplicationAgent, IReplicationAgentCancelControl, ISupportErrorInfo, IConnectionPointContainer

COM Class 'GFSReplicationAgent'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'A class used to perform replica operations.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.carto.IGFSReplicationAgent
IID, IID8817f586_70f1_45f3_bb6c_87a9910fc10f, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicationAgentCancelControl
IID, IIDfe61bef1_7ae3_45c6_84de_a9d6019a4d77, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy
 
Constructor Summary
GFSReplicationAgent()
          Constructs a GFSReplicationAgent using ArcGIS Engine.
GFSReplicationAgent(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GFSReplicationAgent theGFSReplicationAgent = (GFSReplicationAgent) obj;
 
Method Summary
 void addIFeatureProgressListener(IFeatureProgress theListener)
          addIFeatureProgressListener.
 void createReplica(IGraphicFeatureServer srcGFS, IWorkspace destWorkspace, java.lang.String replicaName, IGFSReplicaDescription desc, IGPReplicaOptions repOptions, java.lang.String layerFolder)
          Creates a replica pair and returns FeatureLayers.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a GFSReplicationAgent.
 void removeIFeatureProgressListener(IFeatureProgress theListener)
          removeIFeatureProgressListener.
 void setCancelTrackerByRef(ITrackCancel rhs1)
          The cancel tracker to inspect for user cancellations.
 void synchronizeReplica(IGraphicFeatureServer trgGFS, IWorkspace srcWorkspace, java.lang.String replicaName, int dir)
          Synchronize a feature package replica with graphic feature server replica.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GFSReplicationAgent

public GFSReplicationAgent()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a GFSReplicationAgent using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GFSReplicationAgent

public GFSReplicationAgent(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GFSReplicationAgent theGFSReplicationAgent = (GFSReplicationAgent) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

addIFeatureProgressListener

public void addIFeatureProgressListener(IFeatureProgress theListener)
                                 throws java.io.IOException
addIFeatureProgressListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
Throws:
java.io.IOException - If there are communications problems.

removeIFeatureProgressListener

public void removeIFeatureProgressListener(IFeatureProgress theListener)
                                    throws java.io.IOException
removeIFeatureProgressListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a GFSReplicationAgent.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

createReplica

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

Specified by:
createReplica in interface IGFSReplicationAgent
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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

synchronizeReplica

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

Specified by:
synchronizeReplica in interface IGFSReplicationAgent
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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCancelTrackerByRef

public void setCancelTrackerByRef(ITrackCancel rhs1)
                           throws java.io.IOException,
                                  AutomationException
The cancel tracker to inspect for user cancellations.

Specified by:
setCancelTrackerByRef in interface IReplicationAgentCancelControl
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws java.io.IOException,
                                 AutomationException
enumConnectionPoints

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws java.io.IOException,
                                AutomationException
findConnectionPoint

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.