|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRequest
Method Summary | |
---|---|
void |
cancel()
Cancels the execution of this request. |
void |
cancelEx(int delay)
Cancels the execution of this request if still running after the specified delay in milliseconds. |
void |
esri_wait(int timeout)
Waits for the request to complete or timeout. |
void |
getActive()
Returns S_OK if request is currently being processed, S_FALSE otherwise. |
void |
getCanceled()
Returns S_OK if request was cancelled, otherwise S_FALSE. |
void |
getCompleted()
Returns S_OK if request completed, otherwise S_FALSE. |
int |
getData()
Gets or sets the user defined data associated with this request. |
void |
setData(int pData)
Gets or sets the user defined data associated with this request. |
void |
setSignal(int rhs1)
Specifies an event handle which will be signaled when the request completes or is canceled. |
Method Detail |
---|
void setData(int pData) throws IOException, AutomationException
pData
- The pData (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getData() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void cancel() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void esri_wait(int timeout) throws IOException, AutomationException
timeout
- The timeout (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSignal(int rhs1) throws IOException, AutomationException
rhs1
- A COM void* (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getActive() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getCompleted() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getCanceled() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void cancelEx(int delay) throws IOException, AutomationException
delay
- The delay (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 |