com.esri.arcgis.networkanalyst
Interface INAServerClosestFacilityResults2

All Superinterfaces:
INAServerClosestFacilityResults, INAServerSolverResults, Serializable
All Known Subinterfaces:
INAServerClosestFacilityResults3
All Known Implementing Classes:
NAServerClosestFacilityResults

public interface INAServerClosestFacilityResults2
extends INAServerClosestFacilityResults, Serializable

Deprecated as of 10.0. Provides access to properties that contain the results of performing closest facility network analysis with NAServer.

Remarks

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.

INAServerClosestFacilityResults2 has been superseded by INAServerClosestFacilityResults3.

Product Availability

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


Method Summary
 INACompactStreetDirections[] getCompactDirections()
          Compact directions for each resulting route.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAServerClosestFacilityResults
getBarriers, getCFRouteGeometries, getCFRoutes, getDirections, getFacilities, getIncidents, getTotalImpedances
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAServerSolverResults
getMapImage, getSolveMessages
 

Method Detail

getCompactDirections

INACompactStreetDirections[] getCompactDirections()
                                                  throws IOException,
                                                         AutomationException
Compact directions for each resulting route.

Remarks

CompactDirections returns an array of INACompactStreetDirections used to retrieve the directions for each CFRoute. These directions contain less information and compressed geometries representing the traversed streets. Due to their smaller size, these directions are better suited for passing across low bandwidth connections than the directions in INAServerClosestFacilityResults.Directions.

Product Availability

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

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