“IKJayma”
 All Classes Files Functions Properties Pages
Instance Methods | Properties | List of all members
IJAbstractBackend Class Reference

#import <IJAbstractBackend.h>

Inheritance diagram for IJAbstractBackend:
IJAFNetworkingBackend

Instance Methods

(NSOperation *) - operationWithRequest:success:failure:
 ABSTRACT METHOD. You'll need to write your custom implementation. More...
 
(void) - queueRequest:success:failure:
 ABSTRACT METHOD. You'll need to write your custom implementation. More...
 

Properties

NSOperationQueue * operationsQueue
 

Method Documentation

- (NSOperation *) operationWithRequest: (NSURLRequest *)  request
success: (void(^)(NSOperation *operation, id responseObject))  success
failure: (void(^)(IJError *error))  failure 

ABSTRACT METHOD. You'll need to write your custom implementation.

This will create and return an NSOperation.

- (void) queueRequest: (NSURLRequest *)  request
success: (void(^)(NSOperation *operation, id responseObject))  success
failure: (void(^)(IJError *error))  failure 

ABSTRACT METHOD. You'll need to write your custom implementation.

This will add a request to a queue so you can stop all operations in case you don't need them anymore. In case you need to implement a not-contemplated method in your repositories you'll need to send your request here. Other way you won't never use it.

Property Documentation

- (NSOperationQueue*) operationsQueue
readwriteatomicstrong

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