twisted.application.runner._runner.RunnerOptions(Names) class documentationtwisted.application.runner._runner
View Source
(View In Hierarchy)
| Class Variable | reactor | The reactor to start. Corresponding value: IReactorCore. (type: NamedConstant) |
| Class Variable | pidFilePath | The path to the PID file. Corresponding value: IFilePath. (type: NamedConstant) |
| Class Variable | kill | Whether this runner should kill an existing running instance. Corresponding
value: bool. (type: NamedConstant) |
| Class Variable | defaultLogLevel | The default log level to start the logging system with. Corresponding
value: NamedConstant
from LogLevel. (type: NamedConstant) |
| Class Variable | logFile | A file stream to write logging output to. Corresponding value: writable
file like object. (type: NamedConstant) |
| Class Variable | fileLogObserverFactory | What file log observer to use when starting the logging system.
Corresponding value: callable that returns a twisted.logger.FileLogObserver (type: NamedConstant) |
| Class Variable | whenRunning | Hook to call when the reactor is running. This can be considered the
Twisted equivalent to main(). Corresponding value: callable
that takes the options mapping given to the runner as an argument. (type: NamedConstant) |
| Class Variable | reactorExited | Hook to call when the reactor has exited. Corresponding value: callable
that takes an empty arguments list (type: NamedConstant) |
bool. (type: NamedConstant)
NamedConstant
from LogLevel. (type: NamedConstant)
NamedConstant)
twisted.logger.FileLogObserver (type: NamedConstant)
main(). Corresponding value: callable
that takes the options mapping given to the runner as an argument. (type: NamedConstant)
NamedConstant)