|
|||||||||
| 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.IRequestProxy
public class IRequestProxy
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IRequestProxy()
|
|
IRequestProxy(Object obj)
|
protected |
IRequestProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
removeListener(String iidStr,
Object theListener)
|
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. |
| 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 IRequestProxy()
public IRequestProxy(Object obj)
throws IOException
IOException
protected IRequestProxy(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 void setData(int pData)
throws IOException,
AutomationException
setData in interface IRequestpData - The pData (A COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getData()
throws IOException,
AutomationException
getData in interface IRequestIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void cancel()
throws IOException,
AutomationException
cancel in interface IRequestIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void esri_wait(int timeout)
throws IOException,
AutomationException
esri_wait in interface IRequesttimeout - The timeout (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSignal(int rhs1)
throws IOException,
AutomationException
setSignal in interface IRequestrhs1 - A COM void* (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getActive()
throws IOException,
AutomationException
getActive in interface IRequestIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getCompleted()
throws IOException,
AutomationException
getCompleted in interface IRequestIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getCanceled()
throws IOException,
AutomationException
getCanceled in interface IRequestIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void cancelEx(int delay)
throws IOException,
AutomationException
cancelEx in interface IRequestdelay - 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 | ||||||||