com.sencha.gxt.data.shared.loader
Class RequestFactoryProxy<C,D>
java.lang.Object
com.sencha.gxt.data.shared.loader.RequestFactoryProxy<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 RequestFactoryProxy<C,D>
- extends java.lang.Object
- implements DataProxy<C,D>
An abstract request factory proxy that supports processing results using
either a RPC style Callback or a RequestFactory
Receiver.
|
Method Summary |
void |
load(C loadConfig,
Callback<D,java.lang.Throwable> callback)
Data should be retrieved using the specified load config. |
abstract void |
load(C loadConfig,
Receiver<? super D> receiver)
Process results using a Receiver. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestFactoryProxy
public RequestFactoryProxy()
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
load
public abstract void load(C loadConfig,
Receiver<? super D> receiver)
- Process results using a
Receiver.
- Parameters:
loadConfig - the load config object to be passed to serverreceiver - the data callback
Copyright © 2012. All Rights Reserved.