class documentation

class CrippledApplicationRunner(twistd._SomeApplicationRunner): (source)

View In Hierarchy

An application runner that cripples the platform-specific runner and nasty side-effect-having code so that we can use it without actually running any environment-affecting code.

Method postApplication Start the application and run the reactor.
Method preApplication Do pre-application-creation setup.

Inherited from WindowsApplicationRunner:

Instance Variable oldstderr Undocumented
Instance Variable oldstdout Undocumented

Inherited from ApplicationRunner (via WindowsApplicationRunner):

Method __init__ Undocumented
Method createOrGetApplication Create or load an Application based on the parameters found in the given ServerOptions instance.
Method run Run the application.
Method startReactor Run the reactor with the given configuration. Subclasses should probably call this from postApplication.
Instance Variable application Available in postApplication, but not preApplication. This is the application object.
Instance Variable config The config object, which provides a dict-like interface.
Instance Variable logger Instance provided by loggerFactory.
Instance Variable loggerFactory Factory for creating object responsible for logging.
Instance Variable profiler Instance provided by profilerFactory.
Instance Variable profilerFactory Factory for creating a profiler object, able to profile the application if options are set accordingly.
Instance Variable _exitSignal Undocumented
def postApplication(self): (source)

Start the application and run the reactor.

def preApplication(self): (source)

Do pre-application-creation setup.