|
|||||||||
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
Internal use class Proxy for 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 | |
---|---|
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.IWorkerThread |
---|
IID, IID5e6043d6_6aea_459a_934e_27b4844b0cff |
Constructor Summary | |
---|---|
|
IWorkerThreadProxy()
For internal use only |
|
IWorkerThreadProxy(java.lang.Object obj)
|
protected |
IWorkerThreadProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IWorkerThreadProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IWorkerThreadProxy(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)
|
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(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 |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IWorkerThreadProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IWorkerThreadProxy()
public IWorkerThreadProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IWorkerThreadProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IWorkerThreadProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public IRequest execute(int data, int timeout) throws java.io.IOException, AutomationException
execute
in interface IWorkerThread
data
- The data (A COM typedef) (in)timeout
- The timeout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRequest beginExecute(int data) throws java.io.IOException, AutomationException
beginExecute
in interface IWorkerThread
data
- The data (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void cancelAll() throws java.io.IOException, AutomationException
cancelAll
in interface IWorkerThread
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getBusy() throws java.io.IOException, AutomationException
getBusy
in interface IWorkerThread
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getThreadID() throws java.io.IOException, AutomationException
getThreadID
in interface IWorkerThread
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void destroy() throws java.io.IOException, AutomationException
destroy
in interface IWorkerThread
java.io.IOException
- 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 |