com.esri.arcgis.addinframework
Class IThreadingServicesProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.addinframework.IThreadingServicesProxy
All Implemented Interfaces:
IThreadingServices, java.io.Externalizable, java.io.Serializable

public class IThreadingServicesProxy
extends com.esri.arcgis.interop.Dispatch
implements IThreadingServices, java.io.Serializable

Internal use class Proxy for COM Interface 'IThreadingServices'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\SharedArcGIS\DepFiles\com\DADF\esriDADFSystem.tlb'

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.addinframework.IThreadingServices
IID, IIDc48a00d7_3525_4c0b_9110_829e8e98b704
 
Constructor Summary
  IThreadingServicesProxy()
          For internal use only
  IThreadingServicesProxy(java.lang.Object obj)
           
protected IThreadingServicesProxy(java.lang.Object obj, java.lang.String iid)
           
  IThreadingServicesProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IThreadingServicesProxy(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)
           
 IThreadPool createPool(IThreadPoolImpl pWorker, int minThreads, int maxThreads, int priority)
          Creates a worker thread pool.
 IThreadPool createPoolEx(IThreadPoolImpl pWorker, int minThreads, int maxThreads, int priority, int flags)
          Creates a worker thread pool.
 int getGUIThreadID()
          Returns the GUI thread ID.
 void getShutdownComplete()
          Returns an event which will be signaled when the threading services have completely uninitialized.
 int getTLSValue(java.lang.String valueName)
          Get user defined thread local value for the calling thread.
 void isCanceled()
          Get thread local cancellation state.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setTLSValue(java.lang.String valueName, int pValue)
          Set user defined thread local value for the calling thread.
 void shutdown()
          Signals the threading services to cancel all requests and terminate.
 void updateStatus(java.lang.String status)
          Update thread local status.
 
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

IThreadingServicesProxy

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

IThreadingServicesProxy

public IThreadingServicesProxy()
For internal use only


IThreadingServicesProxy

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

IThreadingServicesProxy

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

IThreadingServicesProxy

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

createPool

public IThreadPool createPool(IThreadPoolImpl pWorker,
                              int minThreads,
                              int maxThreads,
                              int priority)
                       throws java.io.IOException,
                              AutomationException
Creates a worker thread pool.

Specified by:
createPool in interface IThreadingServices
Parameters:
pWorker - A reference to a com.esri.arcgis.addinframework.IThreadPoolImpl (in)
minThreads - The minThreads (in)
maxThreads - The maxThreads (in)
priority - A com.esri.arcgis.addinframework.esriThreadPoolPriority constant (in)
Returns:
A reference to a com.esri.arcgis.addinframework.IThreadPool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGUIThreadID

public int getGUIThreadID()
                   throws java.io.IOException,
                          AutomationException
Returns the GUI thread ID.

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

isCanceled

public void isCanceled()
                throws java.io.IOException,
                       AutomationException
Get thread local cancellation state.

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

updateStatus

public void updateStatus(java.lang.String status)
                  throws java.io.IOException,
                         AutomationException
Update thread local status.

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

getTLSValue

public int getTLSValue(java.lang.String valueName)
                throws java.io.IOException,
                       AutomationException
Get user defined thread local value for the calling thread.

Specified by:
getTLSValue in interface IThreadingServices
Parameters:
valueName - The valueName (in)
Returns:
The ppValue (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTLSValue

public void setTLSValue(java.lang.String valueName,
                        int pValue)
                 throws java.io.IOException,
                        AutomationException
Set user defined thread local value for the calling thread.

Specified by:
setTLSValue in interface IThreadingServices
Parameters:
valueName - The valueName (in)
pValue - The pValue (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Signals the threading services to cancel all requests and terminate.

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

getShutdownComplete

public void getShutdownComplete()
                         throws java.io.IOException,
                                AutomationException
Returns an event which will be signaled when the threading services have completely uninitialized.

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

createPoolEx

public IThreadPool createPoolEx(IThreadPoolImpl pWorker,
                                int minThreads,
                                int maxThreads,
                                int priority,
                                int flags)
                         throws java.io.IOException,
                                AutomationException
Creates a worker thread pool.

Specified by:
createPoolEx in interface IThreadingServices
Parameters:
pWorker - A reference to a com.esri.arcgis.addinframework.IThreadPoolImpl (in)
minThreads - The minThreads (in)
maxThreads - The maxThreads (in)
priority - A com.esri.arcgis.addinframework.esriThreadPoolPriority constant (in)
flags - A com.esri.arcgis.addinframework.esriThreadPoolFlags constant (in)
Returns:
A reference to a com.esri.arcgis.addinframework.IThreadPool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.