com.esri.arcgis.addinframework
Interface IWorkerThread

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IWorkerThreadProxy

public interface IWorkerThread
extends java.io.Serializable

COM Interface 'IWorkerThread'. 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID5e6043d6_6aea_459a_934e_27b4844b0cff
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IRequest beginExecute(int data)
          Asynchronously executes a user defined worker.
 void cancelAll()
          Cancels all requests queued to this thread.
 void destroy()
          Destroys the worker thread.
 IRequest execute(int data, int timeout)
          Synchronously executes a user defined worker.
 void getBusy()
          Returns S_OK if busy, S_FALSE if not busy.
 int getThreadID()
          Returns the worker's thread ID.
 

Field Detail

IID5e6043d6_6aea_459a_934e_27b4844b0cff

static final int IID5e6043d6_6aea_459a_934e_27b4844b0cff
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

execute

IRequest execute(int data,
                 int timeout)
                 throws java.io.IOException,
                        AutomationException
Synchronously executes a user defined worker. Return S_FALSE if request timesout.

Parameters:
data - The data (A COM typedef) (in)
timeout - The timeout (in)
Returns:
A reference to a com.esri.arcgis.addinframework.IRequest
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginExecute

IRequest beginExecute(int data)
                      throws java.io.IOException,
                             AutomationException
Asynchronously executes a user defined worker.

Parameters:
data - The data (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.addinframework.IRequest
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cancelAll

void cancelAll()
               throws java.io.IOException,
                      AutomationException
Cancels all requests queued to this thread.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBusy

void getBusy()
             throws java.io.IOException,
                    AutomationException
Returns S_OK if busy, S_FALSE if not busy.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThreadID

int getThreadID()
                throws java.io.IOException,
                       AutomationException
Returns the worker's thread ID.

Returns:
The pThreadID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

destroy

void destroy()
             throws java.io.IOException,
                    AutomationException
Destroys the worker thread.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.