com.esri.arcgis.addinframework
Class IThreadPoolImplProxy

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

public class IThreadPoolImplProxy
extends com.esri.arcgis.interop.Dispatch
implements IThreadPoolImpl, java.io.Serializable

Internal use class Proxy for COM Interface 'IThreadPoolImpl'. 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.IThreadPoolImpl
IID, IIDddb2e820_9967_4e4e_b84d_8557454be628
 
Constructor Summary
  IThreadPoolImplProxy()
          For internal use only
  IThreadPoolImplProxy(java.lang.Object obj)
           
protected IThreadPoolImplProxy(java.lang.Object obj, java.lang.String iid)
           
  IThreadPoolImplProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IThreadPoolImplProxy(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 onExecute(IRequest request)
          Called when any worker thread in the pool needs perform to work.
 void onThreadCreate()
          Called to perform onetime initialization when a worker thread is added to the pool.
 void onThreadDestroy()
          Called to perform any specialized cleanup when a worker thread is removed from the pool.
 void onUpdate(IRequest request)
          Called on the GUI thread to update any U/I status while any worker thread in the pool is executing.
 void removeListener(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IThreadPoolImplProxy

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

IThreadPoolImplProxy

public IThreadPoolImplProxy()
For internal use only


IThreadPoolImplProxy

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

IThreadPoolImplProxy

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

IThreadPoolImplProxy

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

onThreadCreate

public void onThreadCreate()
                    throws java.io.IOException,
                           AutomationException
Called to perform onetime initialization when a worker thread is added to the pool.

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

onExecute

public void onExecute(IRequest request)
               throws java.io.IOException,
                      AutomationException
Called when any worker thread in the pool needs perform to work.

Specified by:
onExecute in interface IThreadPoolImpl
Parameters:
request - A reference to a com.esri.arcgis.addinframework.IRequest (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onUpdate

public void onUpdate(IRequest request)
              throws java.io.IOException,
                     AutomationException
Called on the GUI thread to update any U/I status while any worker thread in the pool is executing.

Specified by:
onUpdate in interface IThreadPoolImpl
Parameters:
request - A reference to a com.esri.arcgis.addinframework.IRequest (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onThreadDestroy

public void onThreadDestroy()
                     throws java.io.IOException,
                            AutomationException
Called to perform any specialized cleanup when a worker thread is removed from the pool.

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