com.sencha.gxt.data.shared.loader
Interface DataProxy<C,D>

Type Parameters:
C - the type of data used to configure the load from the proxy
D - 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
 void load(C loadConfig, Callback<D,java.lang.Throwable> callback)
          Data should be retrieved using the specified load config.
 

Method Detail

load

void load(C loadConfig,
          Callback<D,java.lang.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 server
callback - the data callback


Copyright © 2012. All Rights Reserved.