Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module app :: Class DependentMultiService |
|
_AbstractServiceCollection
--+ |Accessor
--+ | | |Versioned
--+ | | |ApplicationService
--+ |MultiService
--+ | DependentMultiService
Method Summary | |
---|---|
__init__(self,
serviceName,
serviceParent)
| |
__delattr__(self,
k)
(inherited from Accessor )
| |
__getattr__(self,
k)
(inherited from Accessor )
| |
Get state, adding a version number to it on its way out. (inherited from Versioned )
| |
__setattr__(self,
k,
v)
(inherited from Accessor )
| |
__setstate__(self,
state)
(inherited from Versioned )
| |
Add a Service to me. (inherited from MultiService )
| |
Have my parent disown me. (inherited from ApplicationService )
| |
get_application(self)
(inherited from ApplicationService )
| |
Retrieve the named service from this application. (inherited from _AbstractServiceCollection )
| |
*actually* del self.k without incurring side-effects. (inherited from Accessor )
| |
*actually* set self.k to v without incurring side-effects. (inherited from Accessor )
| |
Remove a Service from me. (inherited from MultiService )
| |
set_application(self,
application)
(inherited from ApplicationService )
| |
setApplication(self,
application)
(inherited from ApplicationService )
| |
Set my parent, which must be a service collection of some kind. (inherited from ApplicationService )
| |
Start all of my Services. | |
Stop all of my Services. | |
upgradeToVersion1(self)
(inherited from ApplicationService )
| |
(internal) Do a version upgrade. (inherited from Versioned )
| |
I massage the result of a DeferredList into something that's a bit easier to work with (see stopService 's __doc__). (inherited from MultiService )
| |
_emergencyStopService(self,
failure,
service)
| |
_finishStartService(self,
res)
| |
_finishStopService(self,
res)
| |
_rollbackStartedServices(self,
failure,
service)
|
Method Details |
---|
startService(self)Start all of my Services. I return a Deferred that will callback (with no useful result) when all services are started. In the event of a failure, all of the successful services will be stopped (without chained behavior) and I will errback with the first unsuccessful service's failure. |
stopService(self)Stop all of my Services. I return a Deferred that will callback (with no useful result) when all services are stopped. In the event of a failure, the running services will be stopped (without chained behavior) and I will errback with the first unsuccessful service's failure. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:48:06 2003 | http://epydoc.sf.net |