com.esri.arcgis.networkanalyst
Class INAStreetDirection2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalyst.INAStreetDirectionProxy
          extended by com.esri.arcgis.networkanalyst.INAStreetDirection2Proxy
All Implemented Interfaces:
INAStreetDirection, INAStreetDirection2, Externalizable, Serializable

public class INAStreetDirection2Proxy
extends INAStreetDirectionProxy
implements INAStreetDirection2, Serializable

Provides access to a street direction item.

Remarks

The INAStreetDirection2 interface is used to retrieve the cumulative length and estimated arrival time for a particular street direction.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INAStreetDirection2Proxy()
           
  INAStreetDirection2Proxy(Object obj)
           
protected INAStreetDirection2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 double getCumulativeLength()
          The cumulative driving length (in directions length units).
 Date getEstimatedArrivalTime()
          The Estimated Time of Arrival.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.networkanalyst.INAStreetDirectionProxy
getDriveTime, getEnvelope, getLength, getManeuverPoint, getResultElement, getResultObjectCount, getString, getStringCount, getStringType, getTime
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirection
getDriveTime, getEnvelope, getLength, getManeuverPoint, getResultElement, getResultObjectCount, getString, getStringCount, getStringType, getTime
 

Constructor Detail

INAStreetDirection2Proxy

public INAStreetDirection2Proxy()

INAStreetDirection2Proxy

public INAStreetDirection2Proxy(Object obj)
                         throws IOException
Throws:
IOException

INAStreetDirection2Proxy

protected INAStreetDirection2Proxy(Object obj,
                                   String iid)
                            throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class INAStreetDirectionProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class INAStreetDirectionProxy
Throws:
IOException

getCumulativeLength

public double getCumulativeLength()
                           throws IOException,
                                  AutomationException
The cumulative driving length (in directions length units).

Remarks

CumulativeLength returns the cumulative length from the beginning of the route.

Product Availability

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

Specified by:
getCumulativeLength in interface INAStreetDirection2
Returns:
The length
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEstimatedArrivalTime

public Date getEstimatedArrivalTime()
                             throws IOException,
                                    AutomationException
The Estimated Time of Arrival.

Remarks

EstimatedArrivalTime returns the estimated time of arrival at the direction element.

Product Availability

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

Specified by:
getEstimatedArrivalTime in interface INAStreetDirection2
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class INAStreetDirectionProxy
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class INAStreetDirectionProxy
Throws:
IOException
ClassNotFoundException