com.esri.arcgis.networkanalyst
Interface INAServerSolverResults

All Superinterfaces:
Serializable
All Known Subinterfaces:
INAServerClosestFacilityResults, INAServerClosestFacilityResults2, INAServerClosestFacilityResults3, INAServerLocationAllocationResults, INAServerODCostMatrixResults, INAServerRouteResults, INAServerRouteResults2, INAServerRouteResults3, INAServerServiceAreaResults, INAServerServiceAreaResults2, INAServerSolverResults2, INAServerVRPResults
All Known Implementing Classes:
NAServerClosestFacilityResults, NAServerLocationAllocationResults, NAServerODCostMatrixResults, NAServerRouteResults, NAServerServiceAreaResults, NAServerVRPResults

public interface INAServerSolverResults
extends Serializable

Provides access to properties that contain the results of performing network analysis with NAServer.

Remarks

INAServerSolverResults has been superseded by INAServerSolverResults2.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IMapImage getMapImage()
          MapImage containing the network analysis result.
 IGPMessages getSolveMessages()
          Error and warning messages returned by the network analysis solver.
 

Method Detail

getMapImage

IMapImage getMapImage()
                      throws IOException,
                             AutomationException
MapImage containing the network analysis result.

Remarks

MapImage returns the image drawn during NAServer::Solve using the NAServerSolverParams::MapDescription and NAServerSolverParams::ImageDescription properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.carto.IMapImage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSolveMessages

IGPMessages getSolveMessages()
                             throws IOException,
                                    AutomationException
Error and warning messages returned by the network analysis solver.

Remarks

SolverMessages returns an IGPMessages interface pointer to a GPMessages object that contains informational messages that were generated during NAServer::Solve.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geodatabase.IGPMessages
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.