Avaya Client Services API Reference (iOS)
Instance Methods | Properties | List of all members
CSDataRetrieval Class Reference

Deprecated: Replaced by CSDataRetrievalWatcher. More...

#import <CSDataRetrieval.h>

Inherits NSObject.

Instance Methods

(void) - addDelegate:
 Add a delegate to be notified of progress in retrieving a data set. More...
 
(void) - removeDelegate:
 Remove a delegate to be notified of progress in retrieving a data set. More...
 
(void) - cancel
 Cancel the current data retrieval operation. More...
 

Properties

NSArray * delegates
 This delegates responsible for handling the CSDataRetrieval events. More...
 
CSDataSetdataSet
 The dataset. More...
 
BOOL cancelled
 Has this data retrieval operation been cancelled? More...
 
BOOL completed
 Has this data retrieval completed retrieve data? When it is completed, the dataset is filled with data and ready to listen for changes. More...
 
NSUInteger serviceRequestId
 The requestId that is set by the service when it return DataRetrieval instance. More...
 

Detailed Description

Deprecated: Replaced by CSDataRetrievalWatcher.


Deprecated: This class is not thread safe and has been replaced by the CSDataRetrievalWatcher class. Any public methods using CSDataRetrieval are now marked as deprecated and have been replaced by equivalent methods using the CSDataRetrievalWatcher class. Third party applications should not use these deprecated methods as they are not supported by Avaya.

Method Documentation

- (void) addDelegate: (id< CSDataRetrievalDelegate >)  delegate

Add a delegate to be notified of progress in retrieving a data set.

Parameters
delegateThe delegate to be added.
- (void) cancel

Cancel the current data retrieval operation.

After this, the cancellation will be reported asynchronously to listeners

- (void) removeDelegate: (id< CSDataRetrievalDelegate >)  delegate

Remove a delegate to be notified of progress in retrieving a data set.

Parameters
delegateThe delegate to be removed.

Property Documentation

- (BOOL) cancelled
readnonatomicassign

Has this data retrieval operation been cancelled?

Returns
YES if the operation was cancelled, NO otherwise.
- (BOOL) completed
readnonatomicassign

Has this data retrieval completed retrieve data? When it is completed, the dataset is filled with data and ready to listen for changes.

Returns
YES if it is completed, NO otherwise.
- (CSDataSet*) dataSet
readnonatomicassign

The dataset.

- (NSArray*) delegates
readatomicassign

This delegates responsible for handling the CSDataRetrieval events.

- (NSUInteger) serviceRequestId
readwritenonatomicassign

The requestId that is set by the service when it return DataRetrieval instance.


The documentation for this class was generated from the following file: