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(RPCQueueCallback) returns. |
void execute(RPCResponse... response)
RPCManager.sendQueue(RPCQueueCallback)
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