public class AsyncCallbackWrapper<T> extends Object implements AsyncCallback<T>
Constructor and Description |
---|
AsyncCallbackWrapper(AsyncCallback<T> anAsyncCallback) |
Modifier and Type | Method and Description |
---|---|
protected AsyncCallback<T> |
getCallback() |
void |
onFailure(Throwable aThrowable) |
void |
onSuccess(T anObject) |
public AsyncCallbackWrapper(AsyncCallback<T> anAsyncCallback)
public void onSuccess(T anObject)
onSuccess
in interface AsyncCallback<T>
public void onFailure(Throwable aThrowable)
onFailure
in interface AsyncCallback<T>
protected AsyncCallback<T> getCallback()
Copyright © 2012. All Rights Reserved.