twisted.application.app module documentationtwisted.application
View Source
| Class | ProfileRunner | Runner for the standard profile module. |
| Class | HotshotRunner | Runner for the hotshot 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 or the custom 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 |
Start the reactor, using profiling if specified by the configuration, and log any error happening in the process.
| Parameters | config | configuration of the twistd application. (type: ServerOptions) |
| oldstdout | initial value of sys.stdout. (type: file) | |
| oldstderr | initial value of sys.stderr. (type: file) | |
| profiler | object used to run the reactor with profiling. (type: AppProfiler) | |
| reactor | The reactor to use. If None, the global reactor will be used. |