// Will be called when a request completes with the request as the argument
SELrequestDidFinishSelector;
// Will be called when a request fails with the request as the argument
SELrequestDidFailSelector;
// Will be called when the queue finishes with the queue as the argument
SELqueueDidFinishSelector;
// Upload progress indicator, probably an NSProgressIndicator or UIProgressView
iduploadProgressDelegate;
// Total amount uploaded so far for all requests in this queue
unsignedlonglongbytesUploadedSoFar;
// Total amount to be uploaded for all requests in this queue - requests add to this figure as they work out how much data they have to transmit
unsignedlonglongtotalBytesToUpload;
// Download progress indicator, probably an NSProgressIndicator or UIProgressView
iddownloadProgressDelegate;
// Total amount downloaded so far for all requests in this queue
unsignedlonglongbytesDownloadedSoFar;
// Total amount to be downloaded for all requests in this queue - requests add to this figure as they receive Content-Length headers
unsignedlonglongtotalBytesToDownload;
// When YES, the queue will cancel all requests when a request fails. Default is YES
BOOLshouldCancelAllRequestsOnFailure;
//Number of real requests (excludes HEAD requests created to manage showAccurateProgress)
intrequestsCount;
// When NO, this request will only update the progress indicator when it completes
// When YES, this request will update the progress indicator according to how much data it has received so far
// When YES, the queue will first perform HEAD requests for all GET requests in the queue, so it can calculate the total download size before it starts
// NO means better performance, because it skips this step for GET requests, and it won't waste time updating the progress indicator until a request completes
// Set to YES if the size of a requests in the queue varies greatly for much more accurate results
// Default for requests in the queue is NO
BOOLshowAccurateProgress;
// Storage container for additional queue information.
NSDictionary*userInfo;
}
// Convenience constructor
+(id)queue;
// Call this to reset a queue - it will cancel all operations, clear delegates, and suspend operation
-(void)reset;
// Used internally to manage HEAD requests when showAccurateProgress is YES, do not use!
-(void)addHEADOperation:(NSOperation*)operation;
// All ASINetworkQueues are paused when created so that total size can be calculated before the queue starts