DARemoteDataAdapterDelegate

Overview

The DARemoteDataAdapterDelegate describes the delegate methods that a DARemoteDataAdapter will call on its delegate object, to inform it about any errors happening during remote call or necessity of login. All delegate methods are optional.

Location

Optional Methods


remoteDataAdapter:didFailToApplyChange:forTable:

@optional - (void) remoteDataAdapter:(nonnull DARemoteDataAdapter *)adapter didFailToApplyChange:(nonnull DADeltaChange *)change forTable:(nonnull DADataTable *)table

Parameters:

  • adapter:
  • change:
  • table:

remoteDataAdapter:didFailWithException:forAsyncRequest:

@optional - (void) remoteDataAdapter:(nonnull DARemoteDataAdapter *)adapter didFailWithException:(nonnull NSException *)exception forAsyncRequest:(nonnull DAAsyncRequest *)request

Parameters:

  • adapter:
  • exception:
  • request:

remoteDataAdapter:needsPassword:forLoginString:

@optional - (BOOL) remoteDataAdapter:(nonnull DARemoteDataAdapter *)adapter needsPassword:(NSString * __nullable * __nonnull)password forLoginString:(nonnull NSString *)loginString

Parameters:

  • adapter:
  • password:
  • loginString:

remoteDataAdapter:needsPassword:forUsername:

@optional - (BOOL) remoteDataAdapter:(nonnull DARemoteDataAdapter *)adapter needsPassword:(NSString * __nullable * __nonnull)password forUsername:(nonnull NSString *)username

Parameters:

  • adapter:
  • password:
  • username:

remoteDataAdapter:requestDidFailWithException:

@optional - (void) remoteDataAdapter:(nonnull DARemoteDataAdapter *)adapter requestDidFailWithException:(nonnull NSException *)exception

Parameters:

  • adapter:
  • exception:

remoteDataAdapter:verifiedPassword:forLoginString:

@optional - (BOOL) remoteDataAdapter:(nonnull DARemoteDataAdapter *)adapter verifiedPassword:(nonnull NSString *)password forLoginString:(nonnull NSString *)loginString

Parameters:

  • adapter:
  • password:
  • loginString:

remoteDataAdapter:verifiedPassword:forUsername:

@optional - (BOOL) remoteDataAdapter:(nonnull DARemoteDataAdapter *)adapter verifiedPassword:(nonnull NSString *)password forUsername:(nonnull NSString *)username

Parameters:

  • adapter:
  • password:
  • username:

remoteDataAdapterNeedsLogin:

@optional - (BOOL) remoteDataAdapterNeedsLogin:(nonnull DARemoteDataAdapter *)adapter

Parameters:

  • adapter:

remoteDataAdapterNeedsLoginOnMainThread:

@optional - (BOOL) remoteDataAdapterNeedsLoginOnMainThread:(nonnull DARemoteDataAdapter *)adapter

Parameters:

  • adapter: