class documentation
class Twist: (source)
Run a Twisted application.
| Class Method | main |
Executable entry point for Twist. Processes options and run a twisted reactor with a service. |
| Static Method | options |
Parse command line options. |
| Static Method | run |
Run the application service. |
| Static Method | service |
Create the application service. |
| Static Method | start |
Start the application service. |
Executable entry point for Twist. Processes options and run a twisted reactor with a service.
| Parameters | |
argv:list | Command line arguments. |
Parse command line options.
| Parameters | |
argv:Sequence[ | Command line arguments. |
| Returns | |
TwistOptions | The parsed options. |
Run the application service.
| Parameters | |
twistTwistOptions | Command line options to convert to runner arguments. |
Create the application service.
| Parameters | |
plugin:IServiceMaker | The name of the plugin that implements the service application to run. |
options:Options | Options to pass to the application. |
| Returns | |
IService | The created application service. |
Start the application service.
| Parameters | |
reactor:IReactorCore | The reactor to run the service with. |
service:IService | The application service to run. |