Part of twisted.application.service View Source View In Hierarchy
Known implementations: twisted.application.service.MultiService
Collection of services.
Contain several services, and manage their start-up/shut-down. Services can be accessed by name if they have a name, and it is always possible to iterate over them.Method | getServiceNamed | Get the child service with a given name. |
Method | __iter__ | Get an iterator over all child services |
Method | addService | Add a child service. |
Method | removeService | Remove a child service. |
Parameters | name | (type: str
) |
Returns | (type: IService
) | |
Raises | KeyError | Raised if the service has no child with the given name. |
Parameters | service | (type: IService
) |
Raises | RuntimeError | Raised if the service has a child with the given name. |