| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
boolean
|
|
||
list
|
|
||
|
|||
|
|||
|
|||
string
|
|
||
download_bt1.BT1Download, int
|
|
||
|
|||
|
|||
|
|||
|
|||
boolean
|
|
||
|
|||
dictionary
|
|
||
list of string
|
|
||
|
|||
| BT1.AptListener.AptListener |
aptlistener the AptListener instance used to listen for incoming connections from Apt |
||
dictionary
|
blocked_files the torrents in the torrent directory that will not be run |
||
dictionary
|
config the configuration parameters |
||
| ConfigDir.ConfigDir |
configdir the configuration and cache directory manager |
||
int
|
counter the number of torrents that have been started so far |
||
threading.Event
|
doneflag flag to indicate all is to be stopped |
||
dictionary
|
downloads the currently running downloaders, keys are info hashes |
||
dictionary
|
file_cache the files found in the parsing of the torrent directory |
||
| ServerPortHandler.MultiHandler |
handler the multi torrent port listener used to handle connections |
||
string
|
hashcheck_current the info hash of the torrent currently being hash checked |
||
list of string
|
hashcheck_queue the list of torrent info hashes waiting to be hash checked |
||
int
|
listen_port the port to listen on for incoming torrent connections |
||
| RateLimiter.RateLimiter |
ratelimiter the limiter used to cap the maximum upload rate |
||
| RawServer.RawServer |
rawserver the Server instance to use for the downloads |
||
dictionary
|
torrent_cache the cache of known torrents, keys are info hashes |
||
list of string
|
torrent_list the list of running torrents' info hashes |
||
|
|||
|
|
Gather the statistics for the currently running torrents. Returns a list, one per running torrent, of tuples: (
|
|
|
|
|
Find which running torrent has the file. Checks the metainfo of each torrent in the cache to find one that has a file whose 'path' matches the given file's path.
|
|
|
|
|
Save the current state of the downloads to a writable state. Pickled data format:
d['torrent cache'] = {info hash: C{dictionary}, ...}
Contains the cached data for all running torrents, keys are
the torrent's info hash, and the data is all the data
saved in L{torrent_cache}. There is also a new key added
"paused" for torrent's that were running but paused.
|
Restore the current state of the downloads. Reads the list of previosuly running torrents, loads their metainfo from the cache and starts the downloads running. Also pauses the download if it was previously paused.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sun Aug 19 16:26:55 2007 | http://epydoc.sourceforge.net |