module documentation
(source)

Undocumented

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; 0/5 class variables, 0/1 instance variables, 2/5 methods, 0/1 propertys 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(): (source)

Undocumented

def runReactorWithLogging(config, oldstdout, oldstderr, profiler=None, reactor=None): (source)

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): (source)

Undocumented

def getSavePassphrase(needed): (source)

Undocumented

def getApplication(config, passphrase): (source)

Undocumented

def _reactorAction(): (source)

Undocumented

def run(runApp, ServerOptions): (source)

Undocumented

def convertStyle(filein, typein, passphrase, fileout, typeout, encrypt): (source)

Undocumented

def startApplication(application, save): (source)

Undocumented

def _exitWithSignal(sig): (source)

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 20.12.1 at 2021-02-28 19:53:36.