interface documentation

class IServiceCollection(Interface): (source)

View In Hierarchy

An object which provides access to a collection of services.

Method getServiceNamed Retrieve the named service from this application.
Method addService Add a service to this collection.
Method removeService Remove a service from this collection.
def getServiceNamed(serviceName): (source)

Retrieve the named service from this application.

Raise a KeyError if there is no such service name.

ParametersserviceNameUndocumented (type: str)
ReturnsUndocumented (type: object)
def addService(service): (source)

Add a service to this collection.

ParametersserviceUndocumented (type: object)
def removeService(service): (source)

Remove a service from this collection.

ParametersserviceUndocumented (type: object)
API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.