com.esri.arcgis.carto
Class MobileSync

java.lang.Object
  extended by com.esri.arcgis.carto.MobileSync
All Implemented Interfaces:
IMobileSync, IMobileSync2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class MobileSync
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IMobileSync, IMobileSync2, ISupportErrorInfo

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

Description 'The Mobile Sync provides functionality for get and posting data in a map for Mobile clients.' 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.IMobileSync2
IID, IID098485ba_6bfb_41dc_88b0_00f5f7f0ef2b, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IMobileSync
IID32e00a76_2023_414b_80d0_986799de0962
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
MobileSync()
          Constructs a MobileSync using ArcGIS Engine.
MobileSync(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MobileSync theMobileSync = (MobileSync) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void executeRequest(IMemoryBlobStream pRequestStream, IMemoryBlobStream[] ppResponse)
          Handle Binary Request.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getMobileMapInfo(IMobileMapInfo[] ppResponse)
          This is depricated at 10.0: Handle Binary Request.
 int hashCode()
          the hashcode for this object
 void init(IMap pMap, IPropertySet pProps)
          Initializes the MobileSync object.
 void initFromMapServer(IMapServer pMapServer, IPropertySet pProps)
          Initializes the MobileSync object from IMapServer (FastMap).
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a MobileSync.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileSync

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

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

MobileSync

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

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

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 MobileSync.

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

init

public void init(IMap pMap,
                 IPropertySet pProps)
          throws java.io.IOException,
                 AutomationException
Initializes the MobileSync object.

Specified by:
init in interface IMobileSync
Parameters:
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

executeRequest

public void executeRequest(IMemoryBlobStream pRequestStream,
                           IMemoryBlobStream[] ppResponse)
                    throws java.io.IOException,
                           AutomationException
Handle Binary Request.

Specified by:
executeRequest in interface IMobileSync
Parameters:
pRequestStream - A reference to a com.esri.arcgis.system.IMemoryBlobStream (in)
ppResponse - A reference to a com.esri.arcgis.system.IMemoryBlobStream (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initFromMapServer

public void initFromMapServer(IMapServer pMapServer,
                              IPropertySet pProps)
                       throws java.io.IOException,
                              AutomationException
Initializes the MobileSync object from IMapServer (FastMap).

Specified by:
initFromMapServer in interface IMobileSync2
Parameters:
pMapServer - A reference to a com.esri.arcgis.carto.IMapServer (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMobileMapInfo

public void getMobileMapInfo(IMobileMapInfo[] ppResponse)
                      throws java.io.IOException,
                             AutomationException
This is depricated at 10.0: Handle Binary Request.

Specified by:
getMobileMapInfo in interface IMobileSync2
Parameters:
ppResponse - A reference to a com.esri.arcgis.carto.IMobileMapInfo (out: use single element array)
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.