|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabasedistributed.ReplicaMessageHandler
public class ReplicaMessageHandler
The ReplicaMessageHandler object.
Constructor Summary | |
---|---|
ReplicaMessageHandler()
Constructs a ReplicaMessageHandler using ArcGIS Engine. |
|
ReplicaMessageHandler(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ReplicaMessageHandler theReplicaMessageHandler = (ReplicaMessageHandler) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IDeltaDataChanges |
getDeltaDataChanges()
Delta data changes. |
int |
getMessageType()
Replica message type. |
int |
getMyGenerationNumber()
Replica generation number. |
Object |
getMyTime()
Replica myTime. |
String |
getReplicaGuid()
Replica guid. |
int |
getSibGenerationNumber()
Replica sibling generation number. |
Object |
getSibMyTime()
Replica sibMyTime. |
Object |
getSibTime()
Replica sibTime. |
int |
hashCode()
the hashcode for this object |
void |
init(String msgFileName,
int msgExportOption)
Init replica message handler. |
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 ReplicaMessageHandler() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ReplicaMessageHandler(Object obj) throws IOException
ReplicaMessageHandler theReplicaMessageHandler = (ReplicaMessageHandler) obj;
obj
to ReplicaMessageHandler
.
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 init(String msgFileName, int msgExportOption) throws IOException, AutomationException
This method initializes the ReplicMessageHandler coclass.
The init method takes an MsgFileName as a string and the MsgExportOption as the data changes option. The MsgFileName parameter is the replica data changes file. This may be a delta XML file, delta database, or a delta file geodatabase. The MsgExportOption parameter specifies the type of replica data changes file. See esriExportDataChangesOption for more information.
init
in interface IReplicaMessageHandler
msgFileName
- The msgFileName (in)msgExportOption
- A com.esri.arcgis.geodatabasedistributed.esriExportDataChangesOption constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getReplicaGuid() throws IOException, AutomationException
This property returns the Replica Guid contained in the Message initialized with the ReplicaMessageHandler object.
getReplicaGuid
in interface IReplicaMessageHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMessageType() throws IOException, AutomationException
This property returns the message type of the message file initialized with the ReplicaMessageHandler object. The message can be either a data change message, a data change message with a switch message, or an acknowledgement message. The message type is returned as a value representing the esriReplicaMessageType. See the esriReplicaMessageType enumeration for more information.
getMessageType
in interface IReplicaMessageHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMyGenerationNumber() throws IOException, AutomationException
This property returns the generation number of the replica which generated the message file that was initialized with the ReplicaMessageHandler object.
getMyGenerationNumber
in interface IReplicaMessageHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSibGenerationNumber() throws IOException, AutomationException
This property returns the generation number of the relative replica which generated the message file that was initialized with the ReplicaMessageHandler object.
getSibGenerationNumber
in interface IReplicaMessageHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDeltaDataChanges getDeltaDataChanges() throws IOException, AutomationException
This property returns the DeltaDataChanges as IDeltaDataChanges in the message initialized with the ReplicaMessageHandler. See DeltaDataChanges for more information.
getDeltaDataChanges
in interface IReplicaMessageHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getMyTime() throws IOException, AutomationException
getMyTime
in interface IReplicaMessageHandler2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getSibTime() throws IOException, AutomationException
getSibTime
in interface IReplicaMessageHandler2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getSibMyTime() throws IOException, AutomationException
getSibMyTime
in interface IReplicaMessageHandler2
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 |