com.esri.arcgis.carto
Class MobileServerLP

java.lang.Object
  extended by com.esri.arcgis.carto.MobileServerLP
All Implemented Interfaces:
IMobileServer, IMobileSync, IAGSServerObject, IAGSServerObject2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class MobileServerLP
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerObject2, IAGSServerObject, IMobileServer, IMobileSync, ISupportErrorInfo

Map Server LAN Proxy.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
MobileServerLP()
          Constructs a MobileServerLP using ArcGIS Engine.
MobileServerLP(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MobileServerLP theMobileServerLP = (MobileServerLP) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 void executeRequest(IMemoryBlobStream pRequestStream, IMemoryBlobStream[] ppResponse)
          Handle Binary Request.
static String getClsid()
          getClsid.
 IName getFullName()
          The AGSServerConnectionName object associated with the server object.
 int getHttpTimeout()
          The maximum time in seconds to wait for a response from the server (Internet only).
 int hashCode()
          the hashcode for this object
 void init(IMap pMap, IPropertySet pProps)
          Initializes the MobileSync object.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void setHttpTimeout(int secs)
          The maximum time in seconds to wait for a response from the server (Internet only).
 
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

MobileServerLP

public MobileServerLP()
               throws IOException,
                      UnknownHostException
Constructs a MobileServerLP using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

MobileServerLP

public MobileServerLP(Object obj)
               throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MobileServerLP theMobileServerLP = (MobileServerLP) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getFullName

public IName getFullName()
                  throws IOException,
                         AutomationException
The AGSServerConnectionName object associated with the server object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFullName in interface IAGSServerObject2
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHttpTimeout

public void setHttpTimeout(int secs)
                    throws IOException,
                           AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setHttpTimeout in interface IAGSServerObject2
Parameters:
secs - The secs (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHttpTimeout

public int getHttpTimeout()
                   throws IOException,
                          AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getHttpTimeout in interface IAGSServerObject2
Returns:
The secs
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

executeRequest

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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