|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.clientapi.Callback
This Class is the abstract representation of the Callback that would be called in the completion of a Async invocation
Constructor Summary | |
Callback()
|
Method Summary | |
boolean |
isComplete()
This says has the Async Operation is completed or not. |
abstract void |
onComplete(AsyncResult result)
This Method is called by Axis2 once the Async Operation is sucessfully completed and the result returns |
abstract void |
reportError(java.lang.Exception e)
This Method is called by Axis2 once the Async Operation fails and the result returns |
void |
setComplete(boolean complete)
Method setComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Callback()
Method Detail |
public abstract void onComplete(AsyncResult result)
result
- public abstract void reportError(java.lang.Exception e)
e
- public boolean isComplete()
while(!callback.isComplete()){
Thread.sleep(1000);
}
do whatever u need to do
public void setComplete(boolean complete)
complete
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |