module documentation

Undocumented

Class ApplicationRunner An object which helps running an application based on a config object.
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}.
Class AppProfiler Class which selects a specific profile runner based on configuration options.
Class CProfileRunner Runner for the cProfile module.
Class ProfileRunner Runner for the standard profile module.
Class ReactorSelectionMixin Provides options for selecting a reactor to install.
Class ServerOptions No class docstring; 0/1 property, 0/1 instance variable, 0/5 class variable, 2/5 methods documented
Function convertStyle Undocumented
Function fixPdb Undocumented
Function getApplication Undocumented
Function getPassphrase Undocumented
Function getSavePassphrase Undocumented
Function run Undocumented
Function runReactorWithLogging Start the reactor, using profiling if specified by the configuration, and log any error happening in the process.
Function startApplication Undocumented
Class _BasicProfiler No summary
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.
Function _reactorAction Undocumented
def convertStyle(filein, typein, passphrase, fileout, typeout, encrypt): (source)

Undocumented

def fixPdb(): (source)

Undocumented

def getApplication(config, passphrase): (source)

Undocumented

def getPassphrase(needed): (source)

Undocumented

def getSavePassphrase(needed): (source)

Undocumented

def run(runApp, ServerOptions): (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.

Parameters
config:ServerOptionsconfiguration of the twistd application.
oldstdout:fileinitial value of sys.stdout.
oldstderr:fileinitial value of sys.stderr.
profiler:AppProfilerobject used to run the reactor with profiling.
reactorThe reactor to use. If None, the global reactor will be used.
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.

Parameters
sig:intSignal to use to terminate the process with os.kill.
def _reactorAction(): (source)

Undocumented