org.cruxframework.crux.core.client.datasource
Class DataSourceAsyncCallbackAdapter<T>
java.lang.Object
org.cruxframework.crux.core.client.rpc.AsyncCallbackAdapter<T[]>
org.cruxframework.crux.core.client.datasource.DataSourceAsyncCallbackAdapter<T>
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.AsyncCallback<T[]>
public class DataSourceAsyncCallbackAdapter<T>
- extends AsyncCallbackAdapter<T[]>
- Author:
- Thiago da Rosa de Bustamante
|
Method Summary |
void |
onComplete(T[] result)
Override this method to handle result received for a remote call |
void |
onError(Throwable e)
Override this method to add specific error handling for a remote call |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceAsyncCallbackAdapter
public DataSourceAsyncCallbackAdapter(Object dataSource)
onComplete
public void onComplete(T[] result)
- Description copied from class:
AsyncCallbackAdapter
- Override this method to handle result received for a remote call
- Specified by:
onComplete in class AsyncCallbackAdapter<T[]>
- See Also:
AsyncCallbackAdapter.onComplete(java.lang.Object)
onError
public void onError(Throwable e)
- Description copied from class:
AsyncCallbackAdapter
- Override this method to add specific error handling for a remote call
- Overrides:
onError in class AsyncCallbackAdapter<T[]>
- See Also:
AsyncCallbackAdapter.onError(java.lang.Throwable)
Copyright © 2014. All rights reserved.