com.esri.arcgis.arcweb
Class IArcWebRouteFinderProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcweb.IArcWebRouteFinderProxy
All Implemented Interfaces:
IArcWebRouteFinder, Externalizable, Serializable

public class IArcWebRouteFinderProxy
extends com.esri.arcgis.interop.Dispatch
implements IArcWebRouteFinder, Serializable

Provides access to members that find routes and generate driving directions between multiple locations.

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
  IArcWebRouteFinderProxy()
           
  IArcWebRouteFinderProxy(Object obj)
           
protected IArcWebRouteFinderProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IArcWebRouteInfo findRoute(IEnumArcWebRouteStops routeStops, IArcWebRouteFinderOptions routeFinderOptions, ITrackCancel cancelTracker)
          Returns route information for a given set of route stops and routing parameters.
 IEnumBSTR getLanguages(ITrackCancel cancelTracker)
          Gets the supported languages for the driving directions.
 IEnumArcWebDataSourceInfo getSupportedDataSources(ITrackCancel pCancelTracker)
          Gets the supported data sources for the route finding service.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
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
 

Constructor Detail

IArcWebRouteFinderProxy

public IArcWebRouteFinderProxy()

IArcWebRouteFinderProxy

public IArcWebRouteFinderProxy(Object obj)
                        throws IOException
Throws:
IOException

IArcWebRouteFinderProxy

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

getLanguages

public IEnumBSTR getLanguages(ITrackCancel cancelTracker)
                       throws IOException,
                              AutomationException
Gets the supported languages for the driving directions.

Product Availability

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

Specified by:
getLanguages in interface IArcWebRouteFinder
Parameters:
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findRoute

public IArcWebRouteInfo findRoute(IEnumArcWebRouteStops routeStops,
                                  IArcWebRouteFinderOptions routeFinderOptions,
                                  ITrackCancel cancelTracker)
                           throws IOException,
                                  AutomationException
Returns route information for a given set of route stops and routing parameters.

Product Availability

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

Specified by:
findRoute in interface IArcWebRouteFinder
Parameters:
routeStops - A reference to a com.esri.arcgis.arcweb.IEnumArcWebRouteStops (in)
routeFinderOptions - A reference to a com.esri.arcgis.arcweb.IArcWebRouteFinderOptions (in)
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IArcWebRouteInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSupportedDataSources

public IEnumArcWebDataSourceInfo getSupportedDataSources(ITrackCancel pCancelTracker)
                                                  throws IOException,
                                                         AutomationException
Gets the supported data sources for the route finding service.

Product Availability

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

Specified by:
getSupportedDataSources in interface IArcWebRouteFinder
Parameters:
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IEnumArcWebDataSourceInfo
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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException