|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkerThread
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. |
Method Detail |
---|
IRequest execute(int data, int timeout) throws IOException, AutomationException
data
- The data (A COM typedef) (in)timeout
- The timeout (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRequest beginExecute(int data) throws IOException, AutomationException
data
- The data (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void cancelAll() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getBusy() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getThreadID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void destroy() throws IOException, AutomationException
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 |