twisted.application.twist._twist.Twist(object)
class documentationtwisted.application.twist._twist
(View In Hierarchy)
Run a Twisted application.
Static Method | options | Parse command line options. |
Static Method | service | Create the application service. |
Static Method | startService | Start the application service. |
Static Method | run | Run the application service. |
Class Method | main | Executable entry point for Twist .
Processes options and run a twisted reactor with a service. |
Parse command line options.
Parameters | argv | Command line arguments. (type: list ) |
Returns | The parsed options. (type: TwistOptions ) |
Create the application service.
Parameters | plugin | The name of the plugin that implements the service application to run. (type: str ) |
options | Options to pass to the application. (type: twisted.python.usage.Options ) | |
Returns | The created application service. (type: IService ) |
Start the application service.
Parameters | reactor | The reactor to run the service with. (type: twisted.internet.interfaces.IReactorCore ) |
service | The application service to run. (type: IService ) |
Run the application service.
Parameters | twistOptions | Command line options to convert to runner arguments. (type: TwistOptions ) |