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

Method __init__ Undocumented
Method preApplication Override in subclass.
Method postApplication Override in subclass.

Inherited from ApplicationRunner:

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

Override in subclass.

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

def postApplication(self):

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.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.