com.esri.arcgis.carto
Class MobileServerIP

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

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

Mobile Server Message Proxy.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
MobileServerIP()
          Constructs a MobileServerIP using ArcGIS Engine.
MobileServerIP(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MobileServerIP theMobileServerIP = (MobileServerIP) 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

MobileServerIP

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

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

MobileServerIP

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

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

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.