com.esri.arcgis.datasourcesfile
Class ISMRouterProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.ISMRouterProxy
All Implemented Interfaces:
ISMRouter, java.io.Externalizable, java.io.Serializable

public class ISMRouterProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMRouter, java.io.Serializable

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

Description: 'Deprecated as of 10.1. Provides access to the main functionality for route finding.' 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.datasourcesfile.ISMRouter
DISPID_1_GET_NAME, DISPID_12_GET_NAME, DISPID_13_GET_NAME, DISPID_14_GET_NAME, DISPID_2_GET_NAME, DISPID_3_GET_NAME, DISPID_4_GET_NAME, DISPID_5_GET_NAME, DISPID_6_GET_NAME, DISPID_6_PUT_NAME, DISPID_8_NAME, DISPID_9_NAME, IID, IIDf8b66020_5850_11d7_b321_008048db11de
 
Constructor Summary
  ISMRouterProxy()
          For internal use only
  ISMRouterProxy(java.lang.Object obj)
           
protected ISMRouterProxy(java.lang.Object obj, java.lang.String iid)
           
  ISMRouterProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISMRouterProxy(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)
           
 ISMNetBarriersCollection getBarriers()
          The network barriers collection of the router object.
 ISMFlagCreator getFlagCreator()
          The flag creator used by the router object.
 java.lang.String getNetAttributeName()
          The network attribute that the router object currently uses.
 ISMNetAttributesCollection getNetAttributes()
          The network attributes collection of the router object.
 ISMNetAttributesAccess getNetAttributesAccess()
          The network attributes access of the router object.
 ISMRoadPreferences getPreferences()
          The road preferences used by the router object.
 java.lang.String getProjectionString()
          The spatial reference of the source data used by the router object.
 ISMSpeedGroups getSpeedGroups()
          The speed groups used by the router object.
 ISMTripPlanSettings getTripPlanSettings()
          The trip planning settings used by the router object.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 ISMStopsCollection reorderStops(ISMStopsCollection pISrcStops)
          Reorders the stops collection to minimize total driving time or distance.
 void setNetAttributeName(java.lang.String pVal)
          The network attribute that the router object currently uses.
 ISMDirections solve(ISMStopsCollection pIStops, ISMBreakTracker pITracker)
          Calculates the route using the current settings of the router object.
 
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

ISMRouterProxy

public ISMRouterProxy(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

ISMRouterProxy

public ISMRouterProxy()
For internal use only


ISMRouterProxy

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

ISMRouterProxy

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

ISMRouterProxy

protected ISMRouterProxy(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

getBarriers

public ISMNetBarriersCollection getBarriers()
                                     throws java.io.IOException,
                                            AutomationException
The network barriers collection of the router object.

Specified by:
getBarriers in interface ISMRouter
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMNetBarriersCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetAttributes

public ISMNetAttributesCollection getNetAttributes()
                                            throws java.io.IOException,
                                                   AutomationException
The network attributes collection of the router object.

Specified by:
getNetAttributes in interface ISMRouter
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMNetAttributesCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPreferences

public ISMRoadPreferences getPreferences()
                                  throws java.io.IOException,
                                         AutomationException
The road preferences used by the router object.

Specified by:
getPreferences in interface ISMRouter
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMRoadPreferences
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpeedGroups

public ISMSpeedGroups getSpeedGroups()
                              throws java.io.IOException,
                                     AutomationException
The speed groups used by the router object.

Specified by:
getSpeedGroups in interface ISMRouter
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMSpeedGroups
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTripPlanSettings

public ISMTripPlanSettings getTripPlanSettings()
                                        throws java.io.IOException,
                                               AutomationException
The trip planning settings used by the router object.

Specified by:
getTripPlanSettings in interface ISMRouter
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMTripPlanSettings
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetAttributeName

public java.lang.String getNetAttributeName()
                                     throws java.io.IOException,
                                            AutomationException
The network attribute that the router object currently uses.

Specified by:
getNetAttributeName in interface ISMRouter
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNetAttributeName

public void setNetAttributeName(java.lang.String pVal)
                         throws java.io.IOException,
                                AutomationException
The network attribute that the router object currently uses.

Specified by:
setNetAttributeName in interface ISMRouter
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reorderStops

public ISMStopsCollection reorderStops(ISMStopsCollection pISrcStops)
                                throws java.io.IOException,
                                       AutomationException
Reorders the stops collection to minimize total driving time or distance.

Specified by:
reorderStops in interface ISMRouter
Parameters:
pISrcStops - A reference to a com.esri.arcgis.datasourcesfile.ISMStopsCollection (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMStopsCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

solve

public ISMDirections solve(ISMStopsCollection pIStops,
                           ISMBreakTracker pITracker)
                    throws java.io.IOException,
                           AutomationException
Calculates the route using the current settings of the router object.

Specified by:
solve in interface ISMRouter
Parameters:
pIStops - A reference to a com.esri.arcgis.datasourcesfile.ISMStopsCollection (in)
pITracker - A reference to a com.esri.arcgis.datasourcesfile.ISMBreakTracker (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMDirections
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetAttributesAccess

public ISMNetAttributesAccess getNetAttributesAccess()
                                              throws java.io.IOException,
                                                     AutomationException
The network attributes access of the router object.

Specified by:
getNetAttributesAccess in interface ISMRouter
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMNetAttributesAccess
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProjectionString

public java.lang.String getProjectionString()
                                     throws java.io.IOException,
                                            AutomationException
The spatial reference of the source data used by the router object.

Specified by:
getProjectionString in interface ISMRouter
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFlagCreator

public ISMFlagCreator getFlagCreator()
                              throws java.io.IOException,
                                     AutomationException
The flag creator used by the router object.

Specified by:
getFlagCreator in interface ISMRouter
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMFlagCreator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.