T - the type of the return valuepublic interface AsyncCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(ServiceException caught)
Called when asynchronous call is failed
|
void |
onSuccess(T result)
Called when asynchronous call is completed successfully
|
void onSuccess(T result)
result - the result of callvoid onFailure(ServiceException caught)
caught - the failure