No module docstring
Class ProfileRunner Runner for the standard profile module.
Class CProfileRunner Runner for the cProfile module.
Class AppProfiler Class which selects a specific profile runner based on configuration options.
Class AppLogger An AppLogger attaches the configured log observer specified on the commandline to a ServerOptions object, a custom logger.ILogObserver, or a legacy custom {log.ILogObserver}.
Function fixPdb Undocumented
Function runReactorWithLogging Start the reactor, using profiling if specified by the configuration, and log any error happening in the process.
Function getPassphrase Undocumented
Function getSavePassphrase Undocumented
Class ApplicationRunner An object which helps running an application based on a config object.
Function getApplication Undocumented
Class ReactorSelectionMixin Provides options for selecting a reactor to install.
Class ServerOptions No class docstring; 2/6 methods documented
Function run Undocumented
Function convertStyle Undocumented
Function startApplication Undocumented
Class _BasicProfiler
Function _reactorAction Undocumented
Function _exitWithSignal Force the application to terminate with the specified signal by replacing the signal handler with the default and sending the signal to ourselves.
def fixPdb():
Undocumented
def runReactorWithLogging(config, oldstdout, oldstderr, profiler=None, reactor=None):

Start the reactor, using profiling if specified by the configuration, and log any error happening in the process.

Parametersconfigconfiguration of the twistd application. (type: ServerOptions)
oldstdoutinitial value of sys.stdout. (type: file)
oldstderrinitial value of sys.stderr. (type: file)
profilerobject used to run the reactor with profiling. (type: AppProfiler)
reactorThe reactor to use. If None, the global reactor will be used.
def getPassphrase(needed):
Undocumented
def getSavePassphrase(needed):
Undocumented
def getApplication(config, passphrase):
Undocumented
def _reactorAction():
Undocumented
def run(runApp, ServerOptions):
Undocumented
def convertStyle(filein, typein, passphrase, fileout, typeout, encrypt):
Undocumented
def startApplication(application, save):
Undocumented
def _exitWithSignal(sig):

Force the application to terminate with the specified signal by replacing the signal handler with the default and sending the signal to ourselves.

ParameterssigSignal to use to terminate the process with os.kill. (type: int)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.