|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAServerSolverResults2
Deprecated as of 10.0. Provides access to properties that contain the results of performing network analysis with NAServer.
At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.
INAServerSolverResults2 provides methods on an NAServerSolverResults object (NAServerRouteResults, NAServerClosestFacilityResults, NAServerServiceAreaResults, NAServerLocationAllocationResults, NAServerODCostMatrixResults, and NAServerVRPResults) returned by the Solve method on INAServer to retrieve the results of the network analysis.
There are methods to get the LayerToken and the SolveErrorCode returned by the solver.
Method Summary | |
---|---|
String |
getLayerToken()
Token identifying of the network analysis layer saved on the server. |
int |
getSolveErrorCode()
Error code returned by solve operation if it failed. |
Methods inherited from interface com.esri.arcgis.networkanalyst.INAServerSolverResults |
---|
getMapImage, getSolveMessages |
Method Detail |
---|
int getSolveErrorCode() throws IOException, AutomationException
SolveErrorCode contains returned error code, if NAServerSolverParams.ReturnPartialResultsOnError was True and Solve failed.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getLayerToken() throws IOException, AutomationException
LayerToken contains token to the network analysis layer saved on the server containing the results of the analsyis. This is only populated when NAServerSolverParams.SaveLayerOnServer was set to True or NAServerSolverParams.LayerToken was populated with a valid value.
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 |