| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package internet :: Module app :: Class DependentMultiService |
|
_AbstractServiceCollection--+ |Accessor--+ | | |Versioned--+ | | |ApplicationService--+ |MultiService--+ | DependentMultiService
| Method Summary | |
|---|---|
__init__(self,
serviceName,
serviceParent)
| |
_emergencyStopService(self,
failure,
service)
| |
_finishStartService(self,
res)
| |
_finishStopService(self,
res)
| |
_rollbackStartedServices(self,
failure,
service)
| |
Start all of my Services. | |
Stop all of my Services. | |
| Inherited from MultiService | |
I massage the result of a DeferredList into something that's a bit easier to work with (see stopService's __doc__). | |
Add a Service to me. | |
Remove a Service from me. | |
| Inherited from _AbstractServiceCollection | |
Retrieve the named service from this application. | |
| Inherited from ApplicationService | |
Have my parent disown me. | |
| |
| |
| |
Set my parent, which must be a service collection of some kind. | |
| |
| Inherited from Accessor | |
| |
| |
| |
*actually* del self.k without incurring side-effects. | |
*actually* set self.k to v without incurring side-effects. | |
| Inherited from Versioned | |
Get state, adding a version number to it on its way out. | |
| |
(internal) Do a version upgrade. | |
| Class Variable Summary | |
|---|---|
| Inherited from _AbstractServiceCollection | |
tuple |
__implements__ = (<class twisted.internet.interfaces.ISe...
|
| Inherited from ApplicationService | |
int |
persistenceVersion = 1 |
NoneType |
serviceName = None |
NoneType |
serviceParent = None |
int |
serviceRunning = 0 |
NoneType |
serviceType = None |
| Inherited from Versioned | |
tuple |
persistenceForgets = ()
|
| 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 2.0 on Sat May 15 20:08:35 2004 | http://epydoc.sf.net |