Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`application`.`app``

module documentation
(source)

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:`ServerOptions` | configuration of the twistd application.
oldstdout:`file` | initial value of `sys.stdout`.
oldstderr:`file` | initial value of `sys.stderr`.
profiler:`AppProfiler` | object used to run the reactor with profiling.
reactor | The 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:`int` | Signal to use to terminate the process with `os.kill`.

def _reactorAction(): (source)

Undocumented