com.smartgwt.client.data

## Interface DSCallback

-     public interface DSCallback

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(DSResponse dsResponse, java.lang.Object data, DSRequest dsRequest)` Callback fired when DataSource methods that send DSRequests complete (such as `DataSource.fetchData()`).

- - ### Method Detail

    - #### execute

          void execute(DSResponse dsResponse,
                     java.lang.Object data,
                     DSRequest dsRequest)

      Callback fired when DataSource methods that send DSRequests complete (such as `DataSource.fetchData()`).
      Parameters:
        `dsResponse` - a `DSResponse` instance with metadata about the returned data
        `data` - data returned to satisfy the DataSource request. See the `DataSource operations` topic for expected results for each type of DataSource operation
        `dsRequest` - the `DSRequest` that was sent. You can use `clientContext` to track state during the server turnaround.