Package com.smartgwt.client.rpc
Interface RPCQueueCallback
public interface RPCQueueCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(RPCResponse... response) Callback to fire when a queue of requests sent viaRPCManager.sendQueue()
returns.
-
Method Details
-
execute
Callback to fire when a queue of requests sent viaRPCManager.sendQueue()
returns.Note that the Array of RPCResponses passed to this callback will actually be DSResponse objects for any requests that were actually DSRequests. DSResponse is a subclass of RPCResponse, and you can "typecast" the underlying JavaScript object to a DSResponse like so:
new DSResponse(rpcResponse.getJsObj());
- Parameters:
response
- array of responses returned from the sent queue of requests
-