Interface DataProxy<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 Known Implementing Classes:
HttpProxy
,MemoryProxy
,RequestFactoryProxy
,RpcProxy
,ScriptTagProxy
,StorageReadProxy
,StorageWriteProxy
public interface DataProxy<C,D>
Defines the interface for objects that can retrieve data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
load(C loadConfig, com.google.gwt.core.client.Callback<D,Throwable> callback)
Data should be retrieved using the specified load config.
-
-
-
Method Detail
-
load
void load(C loadConfig, com.google.gwt.core.client.Callback<D,Throwable> callback)
Data should be retrieved using the specified load config. When specified, the DataReader can be used to "process" the raw data.- Parameters:
loadConfig
- the load config object to be passed to servercallback
- the data callback
-
-