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

Module Downloader

source code

Download pieces from remote peers.

Classes [hide private]
  PerIPStats
Statistics relating to downloads from a single peer.
  BadDataGuard
Process good and bad received pieces from a single peer.
  SingleDownload
Manage downloads from a single peer.
  Downloader
A collection of all single downloads.
Variables [hide private]
logging.Logger logger = logging.getLogger('DebTorrent.BT1.Downloader')
the logger to send all log messages to for this module
int EXPIRE_TIME = 3600
number of seconds after which disconnected seeds are expired

Imports: CurrentRateMeasure.Measure, bitfield.Bitfield, random.shuffle, clock.clock, logging