com.esri.arcgis.datasourcesfile
Class ISMBreakTrackerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.ISMBreakTrackerProxy
All Implemented Interfaces:
ISMBreakTracker, Externalizable, Serializable

public class ISMBreakTrackerProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMBreakTracker, Serializable

Provides access to members that control the long operation cancellation.

Description

Defines members that control the long operation cancellation.

Remarks

ISMBreakTracker.Continue must return False if operation should stop.

You may pass this implementation of the ISMBreakTracker interface to the ISMRouter.Solve method if you want to be able to cancel the route finding operation

When To Use

Cancel tracker interface for interrupting route finding.

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
  ISMBreakTrackerProxy()
           
  ISMBreakTrackerProxy(Object obj)
           
protected ISMBreakTrackerProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean esri_continue()
          Called frequently while associated operation is progressing.
 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

ISMBreakTrackerProxy

public ISMBreakTrackerProxy()

ISMBreakTrackerProxy

public ISMBreakTrackerProxy(Object obj)
                     throws IOException
Throws:
IOException

ISMBreakTrackerProxy

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

esri_continue

public boolean esri_continue()
                      throws IOException,
                             AutomationException
Called frequently while associated operation is progressing. A return value of false indicates that the operation should stop.

Product Availability

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

Specified by:
esri_continue in interface ISMBreakTracker
Returns:
The bKeepGoing
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.