|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.GFSReplicationAgent
public class GFSReplicationAgent
A class used to perform replica operations.
Constructor Summary | |
---|---|
GFSReplicationAgent()
Constructs a GFSReplicationAgent using ArcGIS Engine. |
|
GFSReplicationAgent(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,
String replicaName,
IGFSReplicaDescription desc,
IGPReplicaOptions repOptions,
String layerFolder)
Creates a replica pair and returns FeatureLayers. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
removeIFeatureProgressListener(IFeatureProgress theListener)
removeIFeatureProgressListener. |
void |
setCancelTrackerByRef(ITrackCancel rhs1)
The cancel tracker to inspect for user cancellations. |
void |
synchronizeReplica(IGraphicFeatureServer trgGFS,
IWorkspace srcWorkspace,
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GFSReplicationAgent() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GFSReplicationAgent(Object obj) throws IOException
GFSReplicationAgent theGFSReplicationAgent = (GFSReplicationAgent) obj;
obj
to GFSReplicationAgent
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addIFeatureProgressListener(IFeatureProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
IOException
- If there are communications problems.public void removeIFeatureProgressListener(IFeatureProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
IOException
- If there are communications problems.public void createReplica(IGraphicFeatureServer srcGFS, IWorkspace destWorkspace, String replicaName, IGFSReplicaDescription desc, IGPReplicaOptions repOptions, String layerFolder) throws IOException, AutomationException
createReplica
in interface IGFSReplicationAgent
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void synchronizeReplica(IGraphicFeatureServer trgGFS, IWorkspace srcWorkspace, String replicaName, int dir) throws IOException, AutomationException
synchronizeReplica
in interface IGFSReplicationAgent
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCancelTrackerByRef(ITrackCancel rhs1) throws IOException, AutomationException
The putref_CancelTracker method inspects for user cancellations.
setCancelTrackerByRef
in interface IReplicationAgentCancelControl
rhs1
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint
in interface IConnectionPointContainer
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |