public interface RPCQueueCallback
Modifier and Type | Method and Description |
---|---|
void |
execute(RPCResponse... response)
Callback to fire when a queue of requests sent via
RPCManager.sendQueue() returns. |
void execute(RPCResponse... response)
RPCManager.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());
response
- array of responses returned from the sent queue of requests