Go to the latest version of this document.

# ``twisted`.`application`.`service`.`ServiceMaker``

class documentation

`class ServiceMaker: (source)`

Constructor: `ServiceMaker(name, module, description, tapname)`

Implements interfaces: `twisted.application.service.IServiceMaker`, `twisted.plugin.IPlugin`

View In Hierarchy

Utility class to simplify the definition of `IServiceMaker` plugins.

Method | `__init__` | Undocumented
Instance Variable | `description` | A brief summary of the features provided by this Twisted application plugin.
Instance Variable | `module` | Undocumented
Instance Variable | `name` | Undocumented
Instance Variable | `tapname` | A short string naming this Twisted plugin, for example 'web' or 'pencil'. This name will be used as the subcommand of 'twistd'.
Property | `makeService` | Create and return an object providing `twisted.application.service.IService`.
Property | `options` | A `twisted.python.usage.Options` subclass defining the configuration options for this application.

def __init__(self, name, module, description, tapname): (source)

Undocumented

description = (source)
from `twisted.application.service.IServiceMaker`

A brief summary of the features provided by this Twisted application plugin.

module = (source)

Undocumented

name = (source)

Undocumented

tapname = (source)
from `twisted.application.service.IServiceMaker`

A short string naming this Twisted plugin, for example 'web' or 'pencil'. This name will be used as the subcommand of 'twistd'.

@property
makeService = (source)
from `twisted.application.service.IServiceMaker`

Create and return an object providing `twisted.application.service.IService`.

Parameters
options | A mapping (typically a `dict` or `twisted.python.usage.Options` instance) of configuration options to desired configuration values.

@property
options = (source)
from `twisted.application.service.IServiceMaker`

A `twisted.python.usage.Options` subclass defining the configuration options for this application.