com.esri.arcgis.geodatabasedistributed
Class ReplicaMessageHandler

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.ReplicaMessageHandler
All Implemented Interfaces:
IReplicaMessageHandler, IReplicaMessageHandler2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ReplicaMessageHandler
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IReplicaMessageHandler, IReplicaMessageHandler2

COM Class 'ReplicaMessageHandler'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabaseDistributed.olb'

Description 'The ReplicaMessageHandler object.' 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.geodatabasedistributed.IReplicaMessageHandler2
IID, IID37d98d2a_97e0_4252_86ac_af3395581877, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicaMessageHandler
IIDce6fe713_7b5a_4e27_808f_97ecfa588f2b
 
Constructor Summary
ReplicaMessageHandler()
          Constructs a ReplicaMessageHandler using ArcGIS Engine.
ReplicaMessageHandler(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ReplicaMessageHandler theReplicaMessageHandler = (ReplicaMessageHandler) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IDeltaDataChanges getDeltaDataChanges()
          Delta data changes.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMessageType()
          Replica message type.
 int getMyGenerationNumber()
          Replica generation number.
 java.lang.Object getMyTime()
          Replica myTime.
 java.lang.String getReplicaGuid()
          Replica guid.
 int getSibGenerationNumber()
          Replica sibling generation number.
 java.lang.Object getSibMyTime()
          Replica sibMyTime.
 java.lang.Object getSibTime()
          Replica sibTime.
 int hashCode()
          the hashcode for this object
 void init(java.lang.String msgFileName, int msgExportOption)
          Init replica message handler.
 void release()
          Release a ReplicaMessageHandler.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicaMessageHandler

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

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

ReplicaMessageHandler

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

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

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

release

public void release()
Release a ReplicaMessageHandler.

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

init

public void init(java.lang.String msgFileName,
                 int msgExportOption)
          throws java.io.IOException,
                 AutomationException
Init replica message handler.

Specified by:
init in interface IReplicaMessageHandler
Parameters:
msgFileName - The msgFileName (in)
msgExportOption - A com.esri.arcgis.geodatabasedistributed.esriExportDataChangesOption constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaGuid

public java.lang.String getReplicaGuid()
                                throws java.io.IOException,
                                       AutomationException
Replica guid.

Specified by:
getReplicaGuid in interface IReplicaMessageHandler
Returns:
The gUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessageType

public int getMessageType()
                   throws java.io.IOException,
                          AutomationException
Replica message type.

Specified by:
getMessageType in interface IReplicaMessageHandler
Returns:
A com.esri.arcgis.geodatabasedistributed.esriReplicaMessageType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMyGenerationNumber

public int getMyGenerationNumber()
                          throws java.io.IOException,
                                 AutomationException
Replica generation number.

Specified by:
getMyGenerationNumber in interface IReplicaMessageHandler
Returns:
The generationNumber
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSibGenerationNumber

public int getSibGenerationNumber()
                           throws java.io.IOException,
                                  AutomationException
Replica sibling generation number.

Specified by:
getSibGenerationNumber in interface IReplicaMessageHandler
Returns:
The sibGen
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeltaDataChanges

public IDeltaDataChanges getDeltaDataChanges()
                                      throws java.io.IOException,
                                             AutomationException
Delta data changes.

Specified by:
getDeltaDataChanges in interface IReplicaMessageHandler
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.IDeltaDataChanges
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMyTime

public java.lang.Object getMyTime()
                           throws java.io.IOException,
                                  AutomationException
Replica myTime.

Specified by:
getMyTime in interface IReplicaMessageHandler2
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSibTime

public java.lang.Object getSibTime()
                            throws java.io.IOException,
                                   AutomationException
Replica sibTime.

Specified by:
getSibTime in interface IReplicaMessageHandler2
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSibMyTime

public java.lang.Object getSibMyTime()
                              throws java.io.IOException,
                                     AutomationException
Replica sibMyTime.

Specified by:
getSibMyTime in interface IReplicaMessageHandler2
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.