/headers/iTunesStore/ISDownloadRequest.h

gehe zur Dokumentation dieser Datei
00001 /*
00002  *     Generated by class-dump 3.1.1.
00003  *
00004  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2006 by Steve Nygard.
00005  */
00006 
00007 #import <iTunesStore/ISRequest.h>
00008 
00009 @class NSArray, NSMutableArray, NSString, NSTimer;
00010 
00011 @interface ISDownloadRequest : ISRequest
00012 {
00013     NSString *_path;
00014     int _fd;
00015     NSString *_downloadKey;
00016     NSArray *_hashes;
00017     unsigned int _numberOfBytesToHash;
00018     unsigned int _allowedRetries;
00019     unsigned int _currentRetries;
00020     NSTimer *_progressTimer;
00021     NSMutableArray *_tickDates;
00022     NSMutableArray *_tickLengths;
00023     long long _bytesWritten;
00024     long long _totalBytes;
00025     long long _verifiedBytes;
00026     struct env_md_ctx_st _md5Context;
00027 }
00028 
00029 - (id)init;
00030 - (void)dealloc;
00031 - (void)pause;
00032 - (void)resume;
00033 - (id)createURLRequest;
00034 - (BOOL)failImmediatelyOnNetworkLoss;
00035 - (void)finishWithData:(id)fp8 error:(id)fp12;
00036 - (void)invalidate;
00037 - (BOOL)receivedStatusCode:(int)fp8 contentLength:(long long)fp12;
00038 - (BOOL)statusCodeIsInvalid:(int)fp8;
00039 - (void)connection:(id)fp8 didReceiveData:(id)fp12;
00040 - (void)connectionDidFinishLoading:(id)fp8;
00041 - (void)setDownloadKey:(id)fp8;
00042 - (void)setHashes:(id)fp8;
00043 - (void)setNumberOfBytesToHash:(unsigned int)fp8;
00044 - (void)setNumberOfRetries:(unsigned int)fp8;
00045 - (void)setPath:(id)fp8;
00046 - (double)bytesPerSecond;
00047 - (double)estimatedTimeRemaining;
00048 - (long long)currentBytes;
00049 - (long long)totalBytes;
00050 - (void)_progressTick:(id)fp8;
00051 - (BOOL)_checkCurrentHash;
00052 - (void)_initializeHashFromFile;
00053 - (void)_attemptRetryAfterError:(int)fp8;
00054 - (void)_finishForConnection:(id)fp8;
00055 - (void)_closeFile;
00056 - (BOOL)_openFile;
00057 - (void)_rewind;
00058 - (void)_resetProgressTimer;
00059 - (void)_stopProgressTimer;
00060 
00061 @end
00062