com.esri.arcgis.carto
Class ILocatedNetworkTrafficValueProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.ILocatedNetworkTrafficValueProxy
All Implemented Interfaces:
ILocatedNetworkTrafficValue, Externalizable, Serializable

public class ILocatedNetworkTrafficValueProxy
extends com.esri.arcgis.interop.Dispatch
implements ILocatedNetworkTrafficValue, Serializable

Provides access to traffic information for the current element id.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ILocatedNetworkTrafficValueProxy()
           
  ILocatedNetworkTrafficValueProxy(Object obj)
           
protected ILocatedNetworkTrafficValueProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void getTrafficValue(int direction, boolean[] supportsTraffic, boolean[] supportsRealTimeValue, boolean[] hasRealTimeValue, double[] attributeValueRatio)
          Retrieves the traffic speed ratio and traffic support status for the specified direction of the current element id.
 void removeListener(String iidStr, Object theListener)
           
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ILocatedNetworkTrafficValueProxy

public ILocatedNetworkTrafficValueProxy()

ILocatedNetworkTrafficValueProxy

public ILocatedNetworkTrafficValueProxy(Object obj)
                                 throws IOException
Throws:
IOException

ILocatedNetworkTrafficValueProxy

protected ILocatedNetworkTrafficValueProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getTrafficValue

public void getTrafficValue(int direction,
                            boolean[] supportsTraffic,
                            boolean[] supportsRealTimeValue,
                            boolean[] hasRealTimeValue,
                            double[] attributeValueRatio)
                     throws IOException,
                            AutomationException
Retrieves the traffic speed ratio and traffic support status for the specified direction of the current element id.

Product Availability

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

Specified by:
getTrafficValue in interface ILocatedNetworkTrafficValue
Parameters:
direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)
supportsTraffic - The supportsTraffic (out: use single element array)
supportsRealTimeValue - The supportsRealTimeValue (out: use single element array)
hasRealTimeValue - The hasRealTimeValue (out: use single element array)
attributeValueRatio - The attributeValueRatio (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.