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

Class Service

Known Subclasses:
BotMaster, ChangeSource, MaildirTwisted, MultiService, SlaveBuilder

Base class for services

Most services should inherit from this class. It handles the book-keeping reponsibilities of starting and stopping, as well as not serializing this book-keeping information.
Method Summary
  __getstate__(self)
  disownServiceParent(self)
  privilegedStartService(self)
  setName(self, name)
  setServiceParent(self, parent)
  startService(self)
  stopService(self)

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

Class Variable Details

__implemented__

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

__providedBy__

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

__provides__

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

name

Type:
NoneType
Value:
None                                                                  

parent

Type:
NoneType
Value:
None                                                                  

running

Type:
int
Value:
0                                                                     

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