Home | Trees | Index | Help |
|
---|
Package twisted :: Package application :: Module service :: Class IService |
|
Interface
--+
|
IService
A service.
Run start-up and shut-down code at the appropriate times.Method Summary | |
---|---|
Deferred
|
Remove the parent of the service. |
Do preparation work for starting the service. | |
Set the name of the service. | |
Set the parent of the service. | |
Start the the service. | |
Deferred
|
Stop the the service. |
Instance Variable Summary | |
---|---|
string |
name : The name of the service (or None) |
boolean |
running : Whether the service is running. |
Method Details |
---|
disownServiceParent(self)Remove the parent of the service.
|
privilegedStartService(self)Do preparation work for starting the service. Here things which should be done before changing directory, root or shedding privileges are done. |
setName(self, name)Set the name of the service.
|
setServiceParent(self, parent)Set the parent of the service. |
startService(self)Start the the service. |
stopService(self)Stop the the service.
|
Instance Variable Details |
---|
nameThe name of the service (or None)
|
runningWhether the service is running.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:07:53 2004 | http://epydoc.sf.net |