twisted.application.service module documentationtwisted.application
Service architecture for Twisted.
Services are arranged in a hierarchy. At the leafs of the hierarchy, the services which actually interact with the outside world are started. Services can be named or anonymous -- usually, they will be named if there is need to access them through the hierarchy (from a parent or a sibling).
Maintainer: Moshe Zadka
| Interface | IServiceMaker | An object which can be used to construct services in a flexible way. |
| Class | ServiceMaker | Utility class to simplify the definition of IServiceMaker
plugins. |
| Interface | IService | A service. |
| Class | Service | Base class for services. |
| Interface | IServiceCollection | Collection of services. |
| Class | MultiService | Straightforward Service Container. |
| Interface | IProcess | Process running parameters. |
| Class | Process | Process running parameters. |
| Function | Application | Return a compound class. |
| Function | loadApplication | Load Application from a given file. |
Return a compound class.
Return an object supporting the IService,
IServiceCollection,
IProcess
and sob.IPersistable
interfaces, with the given parameters. Always access the return value by
explicit casting to one of the interfaces.