com.esri.arcgis.geodatabase
Class TrafficDataManager

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TrafficDataManager
All Implemented Interfaces:
ITrafficDataManager, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TrafficDataManager
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITrafficDataManager

COM Class 'TrafficDataManager'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'A class for creating/managing dynamic traffic files for dynamic traffic feeds.' 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
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITrafficDataManager
IID, IIDdd1ae245_b211_4502_89d4_b880bb10701d, xxDummy
 
Constructor Summary
TrafficDataManager()
          Constructs a TrafficDataManager using ArcGIS Engine.
TrafficDataManager(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrafficDataManager theTrafficDataManager = (TrafficDataManager) obj;
 
Method Summary
 int convertTMCToKey(java.lang.String tmcCode)
          Converts a TMC string to a unique integer key value.
 void deleteData(java.lang.String feedFolderPath, java.util.Date utcCutoffDate)
          Deletes all dynamic traffic files in the specified folder which are older than the specified cutoff date.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void insert(int key, IDoubleArray pTimeSliceSpeeds)
          Inserts the speed values per time slice for the specified TMC key.
 void release()
          Release a TrafficDataManager.
 void startEditing(java.util.Date feedUTCStartTime, int estimatedKeyCount, int timeSliceCount, java.util.Date firstTimeSliceUTCStartTime, int timeSliceDurationInMinutes, int speedUnits, int updateIntervalInMinutes, int feedVersionNumber)
          Starts a new edit session for tracking edits to a new dynamic traffic file.
 void stopEditing(java.lang.String feedFolderPath, boolean createCompressedFile)
          Stops the current edit session and writes all current edits to a new dynamic traffic file in the specified folder.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrafficDataManager

public TrafficDataManager()
                   throws java.io.IOException,
                          java.net.UnknownHostException
Constructs a TrafficDataManager using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TrafficDataManager

public TrafficDataManager(java.lang.Object obj)
                   throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrafficDataManager theTrafficDataManager = (TrafficDataManager) obj;

Construct a TrafficDataManager using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TrafficDataManager.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TrafficDataManager.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

startEditing

public void startEditing(java.util.Date feedUTCStartTime,
                         int estimatedKeyCount,
                         int timeSliceCount,
                         java.util.Date firstTimeSliceUTCStartTime,
                         int timeSliceDurationInMinutes,
                         int speedUnits,
                         int updateIntervalInMinutes,
                         int feedVersionNumber)
                  throws java.io.IOException,
                         AutomationException
Starts a new edit session for tracking edits to a new dynamic traffic file.

Specified by:
startEditing in interface ITrafficDataManager
Parameters:
feedUTCStartTime - The feedUTCStartTime (in)
estimatedKeyCount - The estimatedKeyCount (in)
timeSliceCount - The timeSliceCount (in)
firstTimeSliceUTCStartTime - The firstTimeSliceUTCStartTime (in)
timeSliceDurationInMinutes - The timeSliceDurationInMinutes (in)
speedUnits - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
updateIntervalInMinutes - The updateIntervalInMinutes (in)
feedVersionNumber - The feedVersionNumber (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int key,
                   IDoubleArray pTimeSliceSpeeds)
            throws java.io.IOException,
                   AutomationException
Inserts the speed values per time slice for the specified TMC key.

Specified by:
insert in interface ITrafficDataManager
Parameters:
key - The key (in)
pTimeSliceSpeeds - A reference to a com.esri.arcgis.system.IDoubleArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopEditing

public void stopEditing(java.lang.String feedFolderPath,
                        boolean createCompressedFile)
                 throws java.io.IOException,
                        AutomationException
Stops the current edit session and writes all current edits to a new dynamic traffic file in the specified folder.

Specified by:
stopEditing in interface ITrafficDataManager
Parameters:
feedFolderPath - The feedFolderPath (in)
createCompressedFile - The createCompressedFile (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteData

public void deleteData(java.lang.String feedFolderPath,
                       java.util.Date utcCutoffDate)
                throws java.io.IOException,
                       AutomationException
Deletes all dynamic traffic files in the specified folder which are older than the specified cutoff date.

Specified by:
deleteData in interface ITrafficDataManager
Parameters:
feedFolderPath - The feedFolderPath (in)
utcCutoffDate - The utcCutoffDate (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertTMCToKey

public int convertTMCToKey(java.lang.String tmcCode)
                    throws java.io.IOException,
                           AutomationException
Converts a TMC string to a unique integer key value.

Specified by:
convertTMCToKey in interface ITrafficDataManager
Parameters:
tmcCode - The tmcCode (in)
Returns:
The pKey
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.