| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAsyncCallback<ResultType>
Asynchronous callback contract.
| Method Summary | |
|---|---|
 void | 
onFailure(java.lang.Throwable exception)
This method will be invoked by an arbitrary thread when an asynchronous remote service call fails.  | 
 void | 
onSuccess(ResultType result)
This method will be invoked by an arbitrary thread when an asynchronous remote service call is successfully completed.  | 
| Method Detail | 
|---|
void onSuccess(ResultType result)
onFailure(Throwable) will be called
 for a given remote call.
result - the result of the remote call.  May be null.void onFailure(java.lang.Throwable exception)
onSuccess(Object) will be called
 for a given remote call.
exception - any exception associated with the failure.  Will not be null.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||