com.esri.arcgis.globecore
Class GlobeServerCooker

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeServerCooker
All Implemented Interfaces:
IGlobeServerCooker, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GlobeServerCooker
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGlobeServerCooker

COM Class 'GlobeServerCooker'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

Description 'The Globe Server Cooker coclass for Generating Tiles with globe server objects.' 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.globecore.IGlobeServerCooker
IID, IIDa5e12264_b2d2_4e6c_af14_ea09f870b3bb, xxDummy
 
Constructor Summary
GlobeServerCooker()
          Constructs a GlobeServerCooker using ArcGIS Engine.
GlobeServerCooker(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeServerCooker theGlobeServerCooker = (GlobeServerCooker) obj;
 
Method Summary
 void cancel()
          Cancels cooking.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IEnvelope getAOI()
          The area of interest for cooking in GCS.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getLastError()
          Gets the last error.
 int getMaxLOD()
          The maximum Level Of detail for cooking.
 int getMinLOD()
          The minimum Level Of detail for cooking.
 void getStats(java.lang.String[] pLayerName, int[] pLayerID, double[] pProgressPercent)
          Gets the current Cooker object cooking progress.
 void getThreadHandle(int[] pHandle)
          Gets the Cook thread handle.
 int hashCode()
          the hashcode for this object
 void initCooking(java.lang.String serverName, java.lang.String serverObjectName)
          cooks a given globe server object on a given server.
 void release()
          Release a GlobeServerCooker.
 void removeTiles(IEnvelope pExtent)
          Removes tiles from within the specified extent.
 void setAOI(IEnvelope ppExtent)
          The area of interest for cooking in GCS.
 void setInputLyrId(int rhs1)
          The layer id of the layer to be cooked.
 void setMaxLOD(int pMaxLOD)
          The maximum Level Of detail for cooking.
 void setMinLOD(int pMinLOD)
          The minimum Level Of detail for cooking.
 void update(IEnvelope pExtent, int pUpdatemode)
          Sets the extent of the region to be updated and the caching mode.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobeServerCooker

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

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

GlobeServerCooker

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

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

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

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

getMinLOD

public int getMinLOD()
              throws java.io.IOException,
                     AutomationException
The minimum Level Of detail for cooking.

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

setMinLOD

public void setMinLOD(int pMinLOD)
               throws java.io.IOException,
                      AutomationException
The minimum Level Of detail for cooking.

Specified by:
setMinLOD in interface IGlobeServerCooker
Parameters:
pMinLOD - The pMinLOD (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxLOD

public int getMaxLOD()
              throws java.io.IOException,
                     AutomationException
The maximum Level Of detail for cooking.

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

setMaxLOD

public void setMaxLOD(int pMaxLOD)
               throws java.io.IOException,
                      AutomationException
The maximum Level Of detail for cooking.

Specified by:
setMaxLOD in interface IGlobeServerCooker
Parameters:
pMaxLOD - The pMaxLOD (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAOI

public IEnvelope getAOI()
                 throws java.io.IOException,
                        AutomationException
The area of interest for cooking in GCS.

Specified by:
getAOI in interface IGlobeServerCooker
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInputLyrId

public void setInputLyrId(int rhs1)
                   throws java.io.IOException,
                          AutomationException
The layer id of the layer to be cooked.

Specified by:
setInputLyrId in interface IGlobeServerCooker
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAOI

public void setAOI(IEnvelope ppExtent)
            throws java.io.IOException,
                   AutomationException
The area of interest for cooking in GCS.

Specified by:
setAOI in interface IGlobeServerCooker
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initCooking

public void initCooking(java.lang.String serverName,
                        java.lang.String serverObjectName)
                 throws java.io.IOException,
                        AutomationException
cooks a given globe server object on a given server.

Specified by:
initCooking in interface IGlobeServerCooker
Parameters:
serverName - The serverName (in)
serverObjectName - The serverObjectName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

public void update(IEnvelope pExtent,
                   int pUpdatemode)
            throws java.io.IOException,
                   AutomationException
Sets the extent of the region to be updated and the caching mode.

Specified by:
update in interface IGlobeServerCooker
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pUpdatemode - A com.esri.arcgis.globecore.esriGlobeCacheUpdateMode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeTiles

public void removeTiles(IEnvelope pExtent)
                 throws java.io.IOException,
                        AutomationException
Removes tiles from within the specified extent.

Specified by:
removeTiles in interface IGlobeServerCooker
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cancel

public void cancel()
            throws java.io.IOException,
                   AutomationException
Cancels cooking. It will additionally stop the cookers on the Server

Specified by:
cancel in interface IGlobeServerCooker
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStats

public void getStats(java.lang.String[] pLayerName,
                     int[] pLayerID,
                     double[] pProgressPercent)
              throws java.io.IOException,
                     AutomationException
Gets the current Cooker object cooking progress.

Specified by:
getStats in interface IGlobeServerCooker
Parameters:
pLayerName - The pLayerName (in/out: use single element array)
pLayerID - The pLayerID (in/out: use single element array)
pProgressPercent - The pProgressPercent (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThreadHandle

public void getThreadHandle(int[] pHandle)
                     throws java.io.IOException,
                            AutomationException
Gets the Cook thread handle.

Specified by:
getThreadHandle in interface IGlobeServerCooker
Parameters:
pHandle - The pHandle (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLastError

public void getLastError()
                  throws java.io.IOException,
                         AutomationException
Gets the last error.

Specified by:
getLastError in interface IGlobeServerCooker
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.