Package twisted :: Package application :: Module service :: Class MultiService
[frames | no frames]

Class MultiService

Service --+
          |
         MultiService

Known Subclasses:
BaseScheduler, Bot, BuildMaster, BuildSlave, ChangeMaster, StatusReceiverMultiService, TryBase

Straightforward Service Container

Hold a collection of services, and manage them in a simplistic way. No service will wait for another, but this object itself will not finish shutting down until all of its child services will finish.
Method Summary
  __init__(self)
  __iter__(self)
  addService(self, service)
  getServiceNamed(self, name)
  privilegedStartService(self)
  removeService(self, service)
  startService(self)
  stopService(self)
    Inherited from Service
  __getstate__(self)
  disownServiceParent(self)
  setName(self, name)
  setServiceParent(self, parent)

Class Variable Summary
Implements __implemented__ = <implementedBy twisted.application.ser...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Service
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
NoneType name = None                                                                  
NoneType parent = None                                                                  
int running = 0                                                                     

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy twisted.application.service.MultiService>               

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x4072b70c>       

Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 http://epydoc.sf.net