Interface RPCQueueCallback


public interface RPCQueueCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(RPCResponse... response)
    Callback to fire when a queue of requests sent via RPCManager.sendQueue() returns.
  • Method Details

    • execute

      void execute(RPCResponse... response)
      Callback to fire when a queue of requests sent via 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());

      Parameters:
      response - array of responses returned from the sent queue of requests