| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.addinframework.IWorkerThreadProxy
public class IWorkerThreadProxy
| Field Summary | |
|---|---|
 boolean | 
noncastable
 | 
| Fields inherited from class com.esri.arcgis.interop.Dispatch | 
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef | 
| Constructor Summary | |
|---|---|
  | 
IWorkerThreadProxy()
 | 
  | 
IWorkerThreadProxy(Object obj)
 | 
protected  | 
IWorkerThreadProxy(Object obj,
                   String iid)
 | 
| Method Summary | |
|---|---|
 void | 
addListener(String iidStr,
            Object theListener,
            Object theSource)
 | 
 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.  | 
 void | 
removeListener(String iidStr,
               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 | 
|---|
public boolean noncastable
| Constructor Detail | 
|---|
public IWorkerThreadProxy()
public IWorkerThreadProxy(Object obj)
                   throws IOException
IOException
protected IWorkerThreadProxy(Object obj,
                             String iid)
                      throws IOException
IOException| Method Detail | 
|---|
public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public IRequest execute(int data,
                        int timeout)
                 throws IOException,
                        AutomationException
execute in interface IWorkerThreaddata - The data (A  COM typedef)   (in)timeout - The timeout  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRequest beginExecute(int data)
                      throws IOException,
                             AutomationException
beginExecute in interface IWorkerThreaddata - The data (A  COM typedef)   (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void cancelAll()
               throws IOException,
                      AutomationException
cancelAll in interface IWorkerThreadIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getBusy()
             throws IOException,
                    AutomationException
getBusy in interface IWorkerThreadIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getThreadID()
                throws IOException,
                       AutomationException
getThreadID in interface IWorkerThreadIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void destroy()
             throws IOException,
                    AutomationException
destroy in interface IWorkerThreadIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||