Package DebTorrent :: Package BT1 :: Module HTTPDownloader
[hide private]
[frames] | no frames]

Module HTTPDownloader

source code

Manage downloading pieces over HTTP.

Classes [hide private]
  haveComplete
Dummy class similar to Debtorrent.bitfield.Bitfield.
  SingleDownload
Control HTTP downloads from a single site.
  HTTPDownloader
Collection of all the HTTP downloads.
Variables [hide private]
logging.Logger logger = logging.getLogger('DebTorrent.BT1.HTTPDownloader')
the logger to send all log messages to for this module
string VERSION = 'DebTorrent/T-0.1.4'
the UserAgent identifier sent to all sites
haveComplete haveall = <DebTorrent.BT1.HTTPDownloader.haveComplete instance...
instance of the seed's bitfield

Imports: CurrentRateMeasure.Measure, random.randint, urlparse.urlparse, httplib.HTTPConnection, httplib.BadStatusLine, urllib.quote, threading.Thread, logging, __init__.product_name, __init__.version_short


Variables Details [hide private]

haveall

instance of the seed's bitfield
Type:
haveComplete
Value:
haveComplete()