Module factory :: Class Factory
[hide private]

Class Factory

source code

The core factory class communicates with the Officeshots server and passes requests on to any of the available workers

Instance Methods [hide private]
 
configure(self, options) source code
 
load(self, package, class_name)
A convenience function to import class_name from package
source code
 
loop(self)
A single iteration of the main loop.
source code
 
run(self)
This is the main execution loop
source code
 
systemload(self)
Return the average system load
source code
Method Details [hide private]

loop(self)

source code 

A single iteration of the main loop. Return False to terminate the application