class documentation

class TestApplicationRunner(app.ApplicationRunner): (source)

View In Hierarchy

An ApplicationRunner which tracks the environment in which its methods are called.

Method __init__ Undocumented
Method postApplication Override in subclass.
Method preApplication Override in subclass.
Instance Variable hadApplicationPostApplication Undocumented
Instance Variable hadApplicationPreApplication Undocumented
Instance Variable logger Undocumented
Instance Variable order Undocumented

Inherited from ApplicationRunner:

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

Override in subclass.

This will be called after the application has been loaded (so the application attribute will be set). Generally this should start the application and run the reactor.

def preApplication(self): (source)

Override in subclass.

This should set up any state necessary before loading and running the Application.

hadApplicationPostApplication = (source)

Undocumented

hadApplicationPreApplication = (source)

Undocumented

Undocumented