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, java.io.Externalizable, java.io.Serializable

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

Internal use class Proxy for COM Interface 'ILocatedNetworkTrafficValue'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to traffic information for the current element id.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.ILocatedNetworkTrafficValue
IID, IID7313cfa8_4e52_4880_88a5_8985fb75f6d1
 
Constructor Summary
  ILocatedNetworkTrafficValueProxy()
          For internal use only
  ILocatedNetworkTrafficValueProxy(java.lang.Object obj)
           
protected ILocatedNetworkTrafficValueProxy(java.lang.Object obj, java.lang.String iid)
           
  ILocatedNetworkTrafficValueProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ILocatedNetworkTrafficValueProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.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(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ILocatedNetworkTrafficValueProxy

public ILocatedNetworkTrafficValueProxy(java.lang.String CLSID,
                                        java.lang.String host,
                                        com.esri.arcgis.interop.AuthInfo authInfo)
                                 throws java.net.UnknownHostException,
                                        java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ILocatedNetworkTrafficValueProxy

public ILocatedNetworkTrafficValueProxy()
For internal use only


ILocatedNetworkTrafficValueProxy

public ILocatedNetworkTrafficValueProxy(java.lang.Object obj)
                                 throws java.io.IOException
Throws:
java.io.IOException

ILocatedNetworkTrafficValueProxy

protected ILocatedNetworkTrafficValueProxy(java.lang.Object obj,
                                           java.lang.String iid)
                                    throws java.io.IOException
Throws:
java.io.IOException

ILocatedNetworkTrafficValueProxy

protected ILocatedNetworkTrafficValueProxy(java.lang.String CLSID,
                                           java.lang.String iid,
                                           java.lang.String host,
                                           com.esri.arcgis.interop.AuthInfo authInfo)
                                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

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

getTrafficValue

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.