| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Handler
A Handler is used to interact with the user (e.g. to confirm keys, display download progress, etc).
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
| download.Download |
|
||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Instance Variables | |
| bool |
dry_run instead of starting a download, just report what we would have downloaded |
| {URL: download.Download} |
monitored_downloads dict of downloads in progress |
| int |
n_completed_downloads number of downloads which have finished for GUIs, etc (can be reset as desired). |
| int |
total_bytes_downloaded informational counter for GUIs, etc (can be reset as desired). |
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Called when a new download is started. This is mainly used by the GUI to display the progress bar. |
Called by the fetch.Fetcher when adding an implementation. The GUI uses this to update its display.
|
Deprecated: use tasks.wait_for_blocker instead |
Return the Download object currently downloading 'url'. If no download for this URL has been started, start one now (and start monitoring it). If the download failed and force is False, return it anyway. If force is True, abort any current or failed download and start a new one.
|
Sub-classes should override this method to interact with the user about new feeds. If multiple feeds need confirmation, trust.TrustMgr.confirm_keys will only invoke one instance of this method at a time.
Since: 0.42 |
We need to check something with the user before continuing with the install.
|
Report an exception to the user.
Since: 0.25 |
| Instance Variable Details |
total_bytes_downloadedinformational counter for GUIs, etc (can be reset as desired). Updated when download finishes.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Oct 25 15:59:01 2011 | http://epydoc.sourceforge.net |