|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type returned on successF
- The type returned on failurepublic interface Callback<T,F>
A callback for any asynchronous call that can result in success or failure.
Method Summary | |
---|---|
void |
onFailure(F reason)
Called when an asynchronous call fails to complete normally. |
void |
onSuccess(T result)
Called when an asynchronous call completes successfully. |
Method Detail |
---|
void onFailure(F reason)
reason
- failure encounteredvoid onSuccess(T result)
result
- the value returned
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |