com.esri.arcgis.datasourcesfile
Class ISMRouterSetupProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.ISMRouterSetupProxy
All Implemented Interfaces:
ISMRouterSetup, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
ISMRouterSetup2Proxy

public class ISMRouterSetupProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMRouterSetup, java.io.Serializable

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

Description: 'Deprecated as of 10.1. Provides access to router settings, such as restrictions, backtrack policy, length units.' 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.ISMRouterSetup
IID, IIDa386707f_fb42_4d0e_af12_3c1feb26f771
 
Constructor Summary
  ISMRouterSetupProxy()
          For internal use only
  ISMRouterSetupProxy(java.lang.Object obj)
           
protected ISMRouterSetupProxy(java.lang.Object obj, java.lang.String iid)
           
  ISMRouterSetupProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISMRouterSetupProxy(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 clearAllRestrictions()
          Removes all restrictions set on the route solver.
 int getBacktrackPolicy()
          Controls the backtrack policy of the route solver.
 int getDirectionsLengthUnits()
          The output length units used in driving directions.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setBacktrackPolicy(int pVal)
          Controls the backtrack policy of the route solver.
 void setDirectionsLengthUnits(int pVal)
          The output length units used in driving directions.
 void setRestriction(ISMRestriction pRestriction)
          Sets a restriction to be used by the route solver.
 
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

ISMRouterSetupProxy

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

ISMRouterSetupProxy

public ISMRouterSetupProxy()
For internal use only


ISMRouterSetupProxy

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

ISMRouterSetupProxy

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

ISMRouterSetupProxy

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

setRestriction

public void setRestriction(ISMRestriction pRestriction)
                    throws java.io.IOException,
                           AutomationException
Sets a restriction to be used by the route solver.

Specified by:
setRestriction in interface ISMRouterSetup
Parameters:
pRestriction - A reference to a com.esri.arcgis.datasourcesfile.ISMRestriction (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearAllRestrictions

public void clearAllRestrictions()
                          throws java.io.IOException,
                                 AutomationException
Removes all restrictions set on the route solver.

Specified by:
clearAllRestrictions in interface ISMRouterSetup
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBacktrackPolicy

public int getBacktrackPolicy()
                       throws java.io.IOException,
                              AutomationException
Controls the backtrack policy of the route solver.

Specified by:
getBacktrackPolicy in interface ISMRouterSetup
Returns:
A com.esri.arcgis.datasourcesfile.esriSMBacktrackPolicy constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBacktrackPolicy

public void setBacktrackPolicy(int pVal)
                        throws java.io.IOException,
                               AutomationException
Controls the backtrack policy of the route solver.

Specified by:
setBacktrackPolicy in interface ISMRouterSetup
Parameters:
pVal - A com.esri.arcgis.datasourcesfile.esriSMBacktrackPolicy constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirectionsLengthUnits

public int getDirectionsLengthUnits()
                             throws java.io.IOException,
                                    AutomationException
The output length units used in driving directions.

Specified by:
getDirectionsLengthUnits in interface ISMRouterSetup
Returns:
A com.esri.arcgis.datasourcesfile.esriSMDirectionsLengthUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDirectionsLengthUnits

public void setDirectionsLengthUnits(int pVal)
                              throws java.io.IOException,
                                     AutomationException
The output length units used in driving directions.

Specified by:
setDirectionsLengthUnits in interface ISMRouterSetup
Parameters:
pVal - A com.esri.arcgis.datasourcesfile.esriSMDirectionsLengthUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.