|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.addinframework.IThreadingServicesProxy
public class IThreadingServicesProxy
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IThreadingServicesProxy()
|
|
IThreadingServicesProxy(Object obj)
|
protected |
IThreadingServicesProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
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(String valueName)
Get user defined thread local value for the calling thread. |
void |
isCanceled()
Get thread local cancellation state. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setTLSValue(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(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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IThreadingServicesProxy()
public IThreadingServicesProxy(Object obj) throws IOException
IOException
protected IThreadingServicesProxy(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.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IThreadPool createPool(IThreadPoolImpl pWorker, int minThreads, int maxThreads, int priority) throws IOException, AutomationException
createPool
in interface IThreadingServices
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGUIThreadID() throws IOException, AutomationException
getGUIThreadID
in interface IThreadingServices
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isCanceled() throws IOException, AutomationException
isCanceled
in interface IThreadingServices
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateStatus(String status) throws IOException, AutomationException
updateStatus
in interface IThreadingServices
status
- The status (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTLSValue(String valueName) throws IOException, AutomationException
getTLSValue
in interface IThreadingServices
valueName
- The valueName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTLSValue(String valueName, int pValue) throws IOException, AutomationException
setTLSValue
in interface IThreadingServices
valueName
- The valueName (in)pValue
- The pValue (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
shutdown
in interface IThreadingServices
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getShutdownComplete() throws IOException, AutomationException
getShutdownComplete
in interface IThreadingServices
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IThreadPool createPoolEx(IThreadPoolImpl pWorker, int minThreads, int maxThreads, int priority, int flags) throws IOException, AutomationException
createPoolEx
in interface IThreadingServices
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)
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 |