Package com.smartgwt.client.rpc

# Interface RPCCallback

public interface RPCCallback

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `execute(RPCResponse response, Object rawData, RPCRequest request)`
  A `Callback` to evaluate when an RPCRequest completes.

- ## Method Details

  - ### execute

    void execute(RPCResponse response, Object rawData, RPCRequest request)
    A `Callback` to evaluate when an RPCRequest completes.
    Parameters:
      `response` - response a RPCResponse encapsulating the server response to your request
      `rawData` - rawData The "data" property from the RPCResponse, for convenience. The data can also be obtained via `RPCResponse.getDataAsMap()`, `RPCResponse.getDataAsString()`, or `RPCResponse.getDataAsObject()`, depending on the type of data that is expected to be returned from the server.
      `request` - the RPCRequest that was sent.
    See Also:
      - `RPCRequest`
      - `RPCResponse`