Package zeroinstall :: Package injector :: Module scheduler :: Class Site
[frames] | no frames]

Class Site

source code

object --+
         |
        Site

Represents a service accepting download requests. All requests with the same scheme, host and port are handled by the same Site object, allowing it to do connection pooling and queuing, although the current implementation doesn't do either.

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
download(self, step) source code
 
process_next(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

download(self, step)

source code 
Parameters:
Decorators:
  • @tasks.async