|
|
__init__(self,
controller,
hash,
identifier,
response,
config,
myid)
Initialize the instance and start a new downloader. |
source code
|
|
|
|
start(self)
Initialize the new torrent download and schedule it for hash
checking. |
source code
|
|
string
|
saveAs(self,
name,
length,
saveas,
isdir)
Determine the location to save the torrent in. |
source code
|
|
|
|
|
|
|
hashcheck_callback(self)
Start the torrent running now that hash checking is complete. |
source code
|
|
boolean
|
|
|
|
_shutdown(self)
Loudly shutdown the running torrent. |
source code
|
|
|
|
|
|
|
|
|
|
finished(self)
Indicate that the download has completed. |
source code
|
|
|
|
error(self,
msg)
Add a new error to the list of errors that have occurred. |
source code
|
|
method
|
_hashcheckfunc
the method to call to hash check the torrent
|
boolean
|
checking
whether the hash check is in progress
|
boolean
|
closed
whether the download has been shutdown
|
dictionary
|
config
the configuration parameters
|
|
LaunchMany
|
controller
the manager for all torrent downloads
|
|
download_bt1.BT1Download
|
d
the downloader for the torrent
|
threading.Event
|
doneflag
the flag that indicates when the torrent is to be shutdown
|
string
|
hash
the info hash of the torrent
|
string
|
identifier
the identifier of the torrent
|
|
ServerPortHandler.SingleRawServer
|
rawserver
the simplified Server to use to handle this torrent
|
dictionary
|
response
the meta info for the torrent
|
boolean
|
seed
whether this peer is a seed
|
method
|
statsfunc
the method to call to get the statistics for the running
download
|
float
|
status_done
the fraction of the current activity that is complete
|
list of string
|
status_err
the list of errors that have occurred
|
int
|
status_errtime
the time of the last error
|
string
|
status_msg
the current activity the torrent is engaged in
|
boolean
|
waiting
whether the download is waiting for the hash check to complete
before starting
|
boolean
|
working
whether the download is under way
|