com.esri.arcgis.networkanalysis
Class ITraceFlowSolver2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalysis.ITraceFlowSolverProxy
          extended by com.esri.arcgis.networkanalysis.ITraceFlowSolver2Proxy
All Implemented Interfaces:
ITraceFlowSolver, ITraceFlowSolver2, java.io.Externalizable, java.io.Serializable

public class ITraceFlowSolver2Proxy
extends ITraceFlowSolverProxy
implements ITraceFlowSolver2, java.io.Serializable

Internal use class Proxy for COM Interface 'ITraceFlowSolver2'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriNetworkAnalysis.olb'

Description: 'Provides access to members that perform traces on a network.' 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.networkanalysis.ITraceFlowSolver2
IID, IID5343121e_1232_11d4_9f8b_00c04f68e627
 
Fields inherited from interface com.esri.arcgis.networkanalysis.ITraceFlowSolver
IID54fb1501_a640_11d0_9cc9_00805f74d243
 
Constructor Summary
  ITraceFlowSolver2Proxy()
          For internal use only
  ITraceFlowSolver2Proxy(java.lang.Object obj)
           
protected ITraceFlowSolver2Proxy(java.lang.Object obj, java.lang.String iid)
           
  ITraceFlowSolver2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ITraceFlowSolver2Proxy(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 findAccumulation(int flowMethod, int flowElements, IEnumNetEID[] junctionEIDs, IEnumNetEID[] edgeEIDs, java.lang.Object[] pTotalCost)
          Finds the total cost of all reachable network elements based on the specified flow method.
 void findFlowUnreachedElements(int flowMethod, int flowElements, IEnumNetEID[] junctionEIDs, IEnumNetEID[] edgeEIDs)
          Finds all unreachable network elements based on the flow method.
 void findSource(int flowMethod, int objFn, IEnumNetEID[] junctionEIDs, IEnumNetEID[] edgeEIDs, int count, java.lang.Object[] segmentCosts)
          Finds a path upstream to a source or downstream to a sink, depending on the specified flow method.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 
Methods inherited from class com.esri.arcgis.networkanalysis.ITraceFlowSolverProxy
findCircuits, findCommonAncestors, findFlowElements, findFlowEndElements, findPath, putEdgeOrigins, putJunctionOrigins, setTraceIndeterminateFlow
 
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
 
Methods inherited from interface com.esri.arcgis.networkanalysis.ITraceFlowSolver
findCircuits, findCommonAncestors, findFlowElements, findFlowEndElements, findPath, putEdgeOrigins, putJunctionOrigins, setTraceIndeterminateFlow
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ITraceFlowSolver2Proxy

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

ITraceFlowSolver2Proxy

public ITraceFlowSolver2Proxy()
For internal use only


ITraceFlowSolver2Proxy

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

ITraceFlowSolver2Proxy

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

ITraceFlowSolver2Proxy

protected ITraceFlowSolver2Proxy(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 ITraceFlowSolverProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class ITraceFlowSolverProxy
Throws:
java.io.IOException

findFlowUnreachedElements

public void findFlowUnreachedElements(int flowMethod,
                                      int flowElements,
                                      IEnumNetEID[] junctionEIDs,
                                      IEnumNetEID[] edgeEIDs)
                               throws java.io.IOException,
                                      AutomationException
Finds all unreachable network elements based on the flow method.

Specified by:
findFlowUnreachedElements in interface ITraceFlowSolver2
Parameters:
flowMethod - A com.esri.arcgis.networkanalysis.esriFlowMethod constant (in)
flowElements - A com.esri.arcgis.networkanalysis.esriFlowElements constant (in)
junctionEIDs - A reference to a com.esri.arcgis.geodatabase.IEnumNetEID (out: use single element array)
edgeEIDs - A reference to a com.esri.arcgis.geodatabase.IEnumNetEID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findSource

public void findSource(int flowMethod,
                       int objFn,
                       IEnumNetEID[] junctionEIDs,
                       IEnumNetEID[] edgeEIDs,
                       int count,
                       java.lang.Object[] segmentCosts)
                throws java.io.IOException,
                       AutomationException
Finds a path upstream to a source or downstream to a sink, depending on the specified flow method.

Specified by:
findSource in interface ITraceFlowSolver2
Parameters:
flowMethod - A com.esri.arcgis.networkanalysis.esriFlowMethod constant (in)
objFn - A com.esri.arcgis.networkanalysis.esriShortestPathObjFn constant (in)
junctionEIDs - A reference to a com.esri.arcgis.geodatabase.IEnumNetEID (out: use single element array)
edgeEIDs - A reference to a com.esri.arcgis.geodatabase.IEnumNetEID (out: use single element array)
count - The count (in)
segmentCosts - A Variant (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findAccumulation

public void findAccumulation(int flowMethod,
                             int flowElements,
                             IEnumNetEID[] junctionEIDs,
                             IEnumNetEID[] edgeEIDs,
                             java.lang.Object[] pTotalCost)
                      throws java.io.IOException,
                             AutomationException
Finds the total cost of all reachable network elements based on the specified flow method.

Specified by:
findAccumulation in interface ITraceFlowSolver2
Parameters:
flowMethod - A com.esri.arcgis.networkanalysis.esriFlowMethod constant (in)
flowElements - A com.esri.arcgis.networkanalysis.esriFlowElements constant (in)
junctionEIDs - A reference to a com.esri.arcgis.geodatabase.IEnumNetEID (out: use single element array)
edgeEIDs - A reference to a com.esri.arcgis.geodatabase.IEnumNetEID (out: use single element array)
pTotalCost - A Variant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.