| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.GPServerLP
public class GPServerLP
GP Server LAN Proxy.
| Constructor Summary | |
|---|---|
| GPServerLP()Constructs a GPServerLP using ArcGIS Engine. | |
| GPServerLP(Object obj)Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.  GPServerLP theGPServerLP = (GPServerLP) obj; | |
| Method Summary | |
|---|---|
|  void | cancelJob(String jobID)Cancels the specified job. | 
|  boolean | equals(Object o)Compare this object with another | 
|  IGPResult | execute(String toolName,
        IGPValues values,
        IGPResultOptions pOptions)Executes the specified tool with the supplied values and options and returns the results. | 
|  IGPResult | execute(String toolName,
        IGPValues values,
        IGPResultOptions options,
        IPropertySet envValues)Executes the specified tool with the supplied values and options and returns the results. | 
| static String | getClsid()getClsid. | 
|  int | getExecutionType()Indicates if the geoprocessing server is synchronous or asynchronous. | 
|  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). | 
|  IPropertySet | getJobEnvironmentValues(String jobID)Returns the enviornment values for the job. | 
|  IGPValues | getJobInputValues(String jobID,
                  IStringArray parameterNames)Returns the input values for the job. | 
|  IJobMessages | getJobMessages(String jobID)Returns the messages of the specified job. | 
|  IGPResult | getJobResult(String jobID,
             IStringArray parameterNames,
             IGPResultOptions pOptions)Returns the results of the specified job. | 
|  IEnvelope | getJobResultMapExtent(String jobID)Returns the extent for the job. | 
|  IGPResultOptions | getJobResultOptions(String jobID)Returns the result options for the job. | 
|  int | getJobStatus(String jobID)Returns the status of the specified job. | 
|  String | getJobToolName(String jobID)Returns the tool name for the job. | 
|  String | getResultMapServerName()Indicates if there is an associated map server to draw the results and the name of the map server. | 
|  IGDSData | getResultWorkspace(String jobID,
                   int transportType)Returns a zip file of the results workspace. | 
|  IGPToolInfos | getTaskInfos()Returns the tool information of the available tasks. | 
|  IStringArray | getTaskNames()Returns the names of the available tasks. | 
|  IGPToolInfo | getToolInfo(String toolName)Returns the tool information of the specified tool name. | 
|  IGPToolInfos | getToolInfos()Returns the tool information of the available tools. | 
|  IStringArray | getToolNames()Returns the names of the available tools. | 
|  int | hashCode()the hashcode for this object | 
|  void | setHttpTimeout(int secs)The maximum time in seconds to wait for a response from the server (Internet only). | 
|  String | submitJob(String toolName,
          IGPValues values)Submits the specified tool with the supplied values and options and returns the job id. | 
|  String | submitJob(String toolName,
          IGPValues values,
          IGPResultOptions options,
          IPropertySet envValues)Submits the specified tool with the supplied values and options and returns the job id. | 
| 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 | 
|---|
public GPServerLP()
           throws IOException,
                  UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GPServerLP(Object obj)
           throws IOException
 GPServerLP theGPServerLP = (GPServerLP) obj;
obj to GPServerLP.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail | 
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IName getFullName()
                  throws IOException,
                         AutomationException
getFullName in interface IAGSServerObject2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHttpTimeout(int secs)
                    throws IOException,
                           AutomationException
setHttpTimeout in interface IAGSServerObject2secs - The secs  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHttpTimeout()
                   throws IOException,
                          AutomationException
getHttpTimeout in interface IAGSServerObject2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getToolNames()
                          throws IOException,
                                 AutomationException
getToolNames in interface IGPServergetToolNames in interface IGPServer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPToolInfos getToolInfos()
                          throws IOException,
                                 AutomationException
getToolInfos in interface IGPServergetToolInfos in interface IGPServer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPToolInfo getToolInfo(String toolName)
                        throws IOException,
                               AutomationException
getToolInfo in interface IGPServergetToolInfo in interface IGPServer2toolName - The toolName  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getTaskNames()
                          throws IOException,
                                 AutomationException
getTaskNames in interface IGPServergetTaskNames in interface IGPServer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPToolInfos getTaskInfos()
                          throws IOException,
                                 AutomationException
getTaskInfos in interface IGPServergetTaskInfos in interface IGPServer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getResultMapServerName()
                              throws IOException,
                                     AutomationException
getResultMapServerName in interface IGPServergetResultMapServerName in interface IGPServer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPResult execute(String toolName,
                         IGPValues values,
                         IGPResultOptions pOptions)
                  throws IOException,
                         AutomationException
execute in interface IGPServertoolName - The toolName  (in)values - A reference to a com.esri.arcgis.geoprocessing.IGPValues  (in)pOptions - A reference to a com.esri.arcgis.geoprocessing.IGPResultOptions  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String submitJob(String toolName,
                        IGPValues values)
                 throws IOException,
                        AutomationException
submitJob in interface IGPServertoolName - The toolName  (in)values - A reference to a com.esri.arcgis.geoprocessing.IGPValues  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getJobStatus(String jobID)
                 throws IOException,
                        AutomationException
getJobStatus in interface IGPServergetJobStatus in interface IGPServer2jobID - The jobID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IJobMessages getJobMessages(String jobID)
                            throws IOException,
                                   AutomationException
getJobMessages in interface IGPServergetJobMessages in interface IGPServer2jobID - The jobID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPResult getJobResult(String jobID,
                              IStringArray parameterNames,
                              IGPResultOptions pOptions)
                       throws IOException,
                              AutomationException
getJobResult in interface IGPServergetJobResult in interface IGPServer2jobID - The jobID  (in)parameterNames - A reference to a com.esri.arcgis.system.IStringArray  (in)pOptions - A reference to a com.esri.arcgis.geoprocessing.IGPResultOptions  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void cancelJob(String jobID)
               throws IOException,
                      AutomationException
cancelJob in interface IGPServercancelJob in interface IGPServer2jobID - The jobID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getExecutionType()
                     throws IOException,
                            AutomationException
getExecutionType in interface IGPServergetExecutionType in interface IGPServer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGDSData getResultWorkspace(String jobID,
                                   int transportType)
                            throws IOException,
                                   AutomationException
getResultWorkspace in interface IGPServergetResultWorkspace in interface IGPServer2jobID - The jobID  (in)transportType - A com.esri.arcgis.geodatabasedistributed.esriGDSTransportType constant  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPResult execute(String toolName,
                         IGPValues values,
                         IGPResultOptions options,
                         IPropertySet envValues)
                  throws IOException,
                         AutomationException
execute in interface IGPServer2toolName - The toolName  (in)values - A reference to a com.esri.arcgis.geoprocessing.IGPValues  (in)options - A reference to a com.esri.arcgis.geoprocessing.IGPResultOptions  (in)envValues - A reference to a com.esri.arcgis.system.IPropertySet  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String submitJob(String toolName,
                        IGPValues values,
                        IGPResultOptions options,
                        IPropertySet envValues)
                 throws IOException,
                        AutomationException
submitJob in interface IGPServer2toolName - The toolName  (in)values - A reference to a com.esri.arcgis.geoprocessing.IGPValues  (in)options - A reference to a com.esri.arcgis.geoprocessing.IGPResultOptions  (in)envValues - A reference to a com.esri.arcgis.system.IPropertySet  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getJobToolName(String jobID)
                      throws IOException,
                             AutomationException
getJobToolName in interface IGPServer2jobID - The jobID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPValues getJobInputValues(String jobID,
                                   IStringArray parameterNames)
                            throws IOException,
                                   AutomationException
getJobInputValues in interface IGPServer2jobID - The jobID  (in)parameterNames - A reference to a com.esri.arcgis.system.IStringArray  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPResultOptions getJobResultOptions(String jobID)
                                     throws IOException,
                                            AutomationException
getJobResultOptions in interface IGPServer2jobID - The jobID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getJobEnvironmentValues(String jobID)
                                     throws IOException,
                                            AutomationException
getJobEnvironmentValues in interface IGPServer2jobID - The jobID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getJobResultMapExtent(String jobID)
                                throws IOException,
                                       AutomationException
getJobResultMapExtent in interface IGPServer2jobID - The jobID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||