com.esri.arcgis.carto
Class IMSGlobeConnection

java.lang.Object
  extended by com.esri.arcgis.carto.IMSGlobeConnection
All Implemented Interfaces:
IIMSGlobeConnection, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class IMSGlobeConnection
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IIMSGlobeConnection

IMS Globe connection File.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
IMSGlobeConnection()
          Constructs a IMSGlobeConnection using ArcGIS Engine.
IMSGlobeConnection(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
IMSGlobeConnection theIMSGlobeConnection = (IMSGlobeConnection) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getServiceName()
          The service name for the request.
 String getURL()
          The Url for the request.
 int hashCode()
          the hashcode for this object
 String makeRequest(String strDataString)
          Makes a request to the IMS Server.
 void makeRequestBinary(String strDataString, boolean bAllocateData, int data, int[] size)
          Make a request for binary data.
 void setServiceName(String pName)
          The service name for the request.
 void setURL(String pURL)
          The Url for the request.
 
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

IMSGlobeConnection

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

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

IMSGlobeConnection

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

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

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

makeRequest

public String makeRequest(String strDataString)
                   throws IOException,
                          AutomationException
Makes a request to the IMS Server.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
makeRequest in interface IIMSGlobeConnection
Parameters:
strDataString - The strDataString (in)
Returns:
The response
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeRequestBinary

public void makeRequestBinary(String strDataString,
                              boolean bAllocateData,
                              int data,
                              int[] size)
                       throws IOException,
                              AutomationException
Make a request for binary data.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
makeRequestBinary in interface IIMSGlobeConnection
Parameters:
strDataString - The strDataString (in)
bAllocateData - The bAllocateData (in)
data - A COM void* (out: use single element array)
size - The size (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setURL

public void setURL(String pURL)
            throws IOException,
                   AutomationException
The Url for the request.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getURL

public String getURL()
              throws IOException,
                     AutomationException
The Url for the request.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getURL in interface IIMSGlobeConnection
Returns:
The pURL
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setServiceName

public void setServiceName(String pName)
                    throws IOException,
                           AutomationException
The service name for the request.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getServiceName

public String getServiceName()
                      throws IOException,
                             AutomationException
The service name for the request.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getServiceName in interface IIMSGlobeConnection
Returns:
The pName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.