com.sencha.gxt.data.client.loader
Class RpcProxy<C,D>
java.lang.Object
com.sencha.gxt.data.client.loader.RpcProxy<C,D>
- Type Parameters:
C - the type of data used to configure the load from the proxyD - the type of data being returned by the data proxy
- All Implemented Interfaces:
- DataProxy<C,D>
public abstract class RpcProxy<C,D>
- extends java.lang.Object
- implements DataProxy<C,D>
DataProxy implementation that retrieves data using GWT RPC.
|
Method Summary |
abstract void |
load(C loadConfig,
AsyncCallback<D> callback)
Retrieves data using GWT RPC. |
void |
load(C loadConfig,
Callback<D,java.lang.Throwable> callback)
Data should be retrieved using the specified load config. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcProxy
public RpcProxy()
load
public abstract void load(C loadConfig,
AsyncCallback<D> callback)
- Retrieves data using GWT RPC.
- Parameters:
loadConfig - the load config describing the data to retrievecallback - the callback to invoke on success or failure
load
public final void load(C loadConfig,
Callback<D,java.lang.Throwable> callback)
- Description copied from interface:
DataProxy
- Data should be retrieved using the specified load config. When specified,
the
DataReader can be used to "process" the raw data.
- Specified by:
load in interface DataProxy<C,D>
- Parameters:
loadConfig - the load config object to be passed to servercallback - the data callback
Copyright © 2012. All Rights Reserved.