|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAServerSolverResults2
Provides access to properties that contain the results of performing network analysis with NAServer.
INAServerSolverResults2 provides methods on an NAServerSolverResults object (NAServerRouteResults, NAServerClosestFacilityResults, NAServerServiceAreaResults, NAServerLocationAllocationResults, NAServerODCostMatrixResults, 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 |