|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the generic type
@Deprecated public interface PortalListener<T>

Implement this interface to handle the returned result from an asychronous call. The type of object the interface will return in the onCallback method.
| Method Summary | |
|---|---|
void |
onCallback(T obj)
Deprecated. Handles the result when the call succeeded. |
void |
onError(Throwable e)
Deprecated. Handles the result when the call failed. |
| Method Detail |
|---|
void onCallback(T obj)
obj - 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 | |||||||||