Names for options recognized by Runner. These are meant to be used as keys in the options given to Runner, with corresponding values as noted below.

Class Variable reactor The reactor to start. Corresponding value: IReactorCore. (type: NamedConstant)
Class Variable pidFile The PID file to use. Corresponding value: IPIDFile. (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)
reactor =
The reactor to start. Corresponding value: IReactorCore. (type: NamedConstant)
pidFile =
The PID file to use. Corresponding value: IPIDFile. (type: NamedConstant)
kill =
Whether this runner should kill an existing running instance. Corresponding value: bool. (type: NamedConstant)
defaultLogLevel =
The default log level to start the logging system with. Corresponding value: NamedConstant from LogLevel. (type: NamedConstant)
logFile =
A file stream to write logging output to. Corresponding value: writable file like object. (type: NamedConstant)
fileLogObserverFactory =
What file log observer to use when starting the logging system. Corresponding value: callable that returns a twisted.logger.FileLogObserver (type: NamedConstant)
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)
reactorExited =
Hook to call when the reactor has exited. Corresponding value: callable that takes an empty arguments list (type: NamedConstant)
API Documentation for Twisted, generated by pydoctor at 2017-02-11 20:06:04.