DAAsyncRequestDelegate
Overview
The DAAsyncRequestDelegate describes the delegate methods that a DAAsyncRequest will call on its delegate object, to inform it about successful or failed data calls. All delegate methods are @optional.
Location
- Reference: DAAsyncRequest.h
- Namespace: DataAbstract
- Ancestry: DAAsyncRequestDelegate
Optional Methods
asyncRequest:didFailToApplyChange:forTable:
@optional - (void) asyncRequest:(nonnull DAAsyncRequest *)request didFailToApplyChange:(nonnull DADeltaChange *)change forTable:(nonnull DADataTable *)table
Parameters:
- request:
- change:
- table:
asyncRequest:didFailWithException:
@optional - (void) asyncRequest:(nonnull ROAsyncRequest *)request didFailWithException:(nonnull NSException *)exception
Parameters:
- request:
- exception:
asyncRequest:didFinishApplyingChangesForTables:withErrors:
@optional - (void) asyncRequest:(nonnull DAAsyncRequest *)request didFinishApplyingChangesForTables:(nonnull NSArray_DataTable *)tables withErrors:(nullable NSArray *)errors
Parameters:
- request:
- tables:
- errors:
asyncRequest:didFinishExecutingCommand:withResult:andOutputParams:
@optional - (void) asyncRequest:(nonnull DAAsyncRequest *)request didFinishExecutingCommand:(nonnull NSString *)commandName withResult:(int)result andOutputParams:(nullable NSDictionary *)outParams
Parameters:
- request:
- commandName:
- result:
- outParams:
asyncRequest:didReceiveData:
@optional - (void) asyncRequest:(nonnull DAAsyncRequest *)request didReceiveData:(nonnull NSData *)data
Parameters:
- request:
- data:
asyncRequest:didReceiveDataSize:ofExpected:
@optional - (void) asyncRequest:(nonnull ROAsyncRequest *)request didReceiveDataSize:(int)size ofExpected:(int)totalSize
Parameters:
- request:
- size:
- totalSize:
asyncRequest:didReceiveSchema:
@optional - (void) asyncRequest:(nonnull DAAsyncRequest *)request didReceiveSchema:(nonnull DASchema *)schema
Parameters:
- request:
- schema:
asyncRequest:didReceiveTable:
@optional - (void) asyncRequest:(nonnull DAAsyncRequest *)request didReceiveTable:(nonnull DADataTable *)table
Parameters:
- request:
- table:
asyncRequest:didReceiveTables:
@optional - (void) asyncRequest:(nonnull DAAsyncRequest *)request didReceiveTables:(nonnull NSDictionary_String_DataTable *)tables
Parameters:
- request:
- tables:
asyncRequest:didSendDataSize:ofExpected:
@optional - (void) asyncRequest:(nonnull ROAsyncRequest *)request didSendDataSize:(int)size ofExpected:(int)totalSize
Parameters:
- request:
- size:
- totalSize: