SDMNetworkQueue class

Syntax

@interface SDMNetworkQueue : NSOperationQueue <SDMProgressDelegate> <SDMHttpRequestDelegate> <NSCopying>

Members

All members of SDMNetworkQueue, including inherited members.

Methods
Method Description
+ (id) queue Convenience constructor.
- (void) reset Resets the queue; it cancels all operations, clears delegates, and suspends operations.
- (void) startBatch Starts the queue.
Inherited members from SDMProgressDelegate
Member Description
- (void) request: (id< SDMRequesting >) request didReceiveBytes: (long long) bytes Delegate method called when the request receives data.
- (void) request: (id< SDMRequesting >) request didSendBytes: (long long) bytes Delegate method called when the request sends data.
- (void) request: (id< SDMRequesting >) request incrementDownloadSizeBy: (long long) newLength Delegate method called when the request needs to change the download content size.
- (void) request: (id< SDMRequesting >) request incrementUploadSizeBy: (long long) newLength Delegate method called when the request needs to change the length of the content to upload.
- (void) setProgress: (float) newProgress Delegate method called to update UIProgressViews.
Inherited members from SDMHttpRequestDelegate
Member Description
- (void) authenticationNeededForRequest: (SDMHttpRequest *) request Default delegate method called when credentials must be supplied for authentication.
- (void) proxyAuthenticationNeededForRequest: (SDMHttpRequest *) request Default delegate method called when the proxy requires credentials for authentication.
- (void) request: (SDMHttpRequest *) request didReceiveData: (const NSData *const) data_in Default delegate method invoked when incoming data is available.
- (void) requestFailed: (SDMHttpRequest *) request Default delegate method called when the request fails.
- (void) requestFinished: (SDMHttpRequest *) request Default delegate method called when the request completes.
- (void) requestRedirected: (SDMHttpRequest *) request Default delegate method called when the request gets redirected.
- (void) requestStarted: (SDMHttpRequest *) request Default delegate method called when the request starts.