class documentation

class StubApplicationRunnerWithSignal(twistd._SomeApplicationRunner): (source)

View In Hierarchy

An application runner that uses a SignalCapturingMemoryReactor and has a _signalValue attribute that it will set in the reactor.

Method __init__ Undocumented
Method postApplication Instantiate a SignalCapturingMemoryReactor and start it in the runner.
Method preApplication Does nothing.
Instance Variable _signalValue The signal value to set on the reactor's _exitSignal attribute.

Inherited from WindowsApplicationRunner:

Instance Variable oldstderr Undocumented
Instance Variable oldstdout Undocumented

Inherited from ApplicationRunner (via WindowsApplicationRunner):

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 __init__(self, config): (source)
def postApplication(self): (source)

Instantiate a SignalCapturingMemoryReactor and start it in the runner.

_signalValue = (source)

The signal value to set on the reactor's _exitSignal attribute.