com.esri.arcgis.networkanalyst
Interface INAStreetDirectionEvent

All Superinterfaces:
Serializable

public interface INAStreetDirectionEvent
extends Serializable

Provides access to a street direction event.

Product Availability

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


Method Summary
 Date getETA()
          The estimated time of arrival.
 IPoint getPoint()
          The location of the event.
 String getString(int index)
          The string by its index.
 int getStringCount()
          The count of strings in this event.
 int getStringType(int index)
          The string type by its index.
 

Method Detail

getStringCount

int getStringCount()
                   throws IOException,
                          AutomationException
The count of strings in this event.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getString

String getString(int index)
                 throws IOException,
                        AutomationException
The string by its index.

Product Availability

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

Parameters:
index - The index (in)
Returns:
The string
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStringType

int getStringType(int index)
                  throws IOException,
                         AutomationException
The string type by its index.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A com.esri.arcgis.networkanalyst.esriDirectionsStringType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPoint

IPoint getPoint()
                throws IOException,
                       AutomationException
The location of the event.

Product Availability

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

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

getETA

Date getETA()
            throws IOException,
                   AutomationException
The estimated time of arrival.

Product Availability

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

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.