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