|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.GPServerIP
public class GPServerIP
GP Server Message Proxy.
Constructor Summary | |
---|---|
GPServerIP()
Constructs a GPServerIP using ArcGIS Engine. |
|
GPServerIP(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPServerIP theGPServerIP = (GPServerIP) 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 GPServerIP() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GPServerIP(Object obj) throws IOException
GPServerIP theGPServerIP = (GPServerIP) obj;
obj
to GPServerIP
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IName getFullName() throws IOException, AutomationException
getFullName
in interface IAGSServerObject2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHttpTimeout(int secs) throws IOException, AutomationException
setHttpTimeout
in interface IAGSServerObject2
secs
- 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 IAGSServerObject2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getToolNames() throws IOException, AutomationException
getToolNames
in interface IGPServer
getToolNames
in interface IGPServer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPToolInfos getToolInfos() throws IOException, AutomationException
getToolInfos
in interface IGPServer
getToolInfos
in interface IGPServer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPToolInfo getToolInfo(String toolName) throws IOException, AutomationException
getToolInfo
in interface IGPServer
getToolInfo
in interface IGPServer2
toolName
- 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 IGPServer
getTaskNames
in interface IGPServer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPToolInfos getTaskInfos() throws IOException, AutomationException
getTaskInfos
in interface IGPServer
getTaskInfos
in interface IGPServer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getResultMapServerName() throws IOException, AutomationException
getResultMapServerName
in interface IGPServer
getResultMapServerName
in interface IGPServer2
IOException
- 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 IGPServer
toolName
- 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 IGPServer
toolName
- 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 IGPServer
getJobStatus
in interface IGPServer2
jobID
- 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 IGPServer
getJobMessages
in interface IGPServer2
jobID
- 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 IGPServer
getJobResult
in interface IGPServer2
jobID
- 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 IGPServer
cancelJob
in interface IGPServer2
jobID
- 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 IGPServer
getExecutionType
in interface IGPServer2
IOException
- 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 IGPServer
getResultWorkspace
in interface IGPServer2
jobID
- 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 IGPServer2
toolName
- 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 IGPServer2
toolName
- 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 IGPServer2
jobID
- 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 IGPServer2
jobID
- 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 IGPServer2
jobID
- 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 IGPServer2
jobID
- 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 IGPServer2
jobID
- 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 |