class twisted.application.twist._twist.Twist: (source)
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: Sequence[str] ) |
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: IServiceMaker ) |
options | Options to pass to the application. (type: Options ) | |
Returns | The created application service. (type: IService ) |
Start the application service.
Parameters | reactor | The reactor to run the service with. (type: 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 ) |