public interface DSCallback
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() ). |
void execute(DSResponse dsResponse, java.lang.Object data, DSRequest dsRequest)
DataSource.fetchData()
).dsResponse
- a DSResponse
instance with metadata about the returned datadata
- data returned to satisfy the DataSource request. See the DataSource operations
topic for expected results for each type of DataSource operationdsRequest
- the DSRequest
that was sent. You can use clientContext
to track state during the server turnaround.