|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CallbackListener<T>
Implement this interface to handle the returned result from an asychronous call.
| Method Summary | |
|---|---|
void |
onCallback(T objs)
Handles the result when the call succeeded. |
void |
onError(Throwable e)
Handles the result when the call failed. |
| Method Detail |
|---|
void onCallback(T objs)
objs - the result of a successful task call.void onError(Throwable e)
e - the exception caught in the task perform.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||