Home | Trees | Index | Help |
|
---|
Package twisted :: Package words :: Module service :: Class Service |
|
Accessor
--+ |Versioned
--+ |ApplicationService
--+ |Service
--+ |Service
--+ |Versioned
--+ | Service
Method Summary | |
---|---|
__init__(self,
name,
parent,
auth)
| |
__str__(self)
| |
addBot(self,
name,
bot)
| |
Create a perspective from self.perspectiveClass and add it to this service. | |
Create a perspective from self.perspectiveClass and add it to this service. | |
deleteBot(self,
bot)
| |
getGroup(self,
name)
| |
Return a perspective that represents a user for this service. | |
upgradeToVersion1(self)
| |
upgradeToVersion3(self)
| |
upgradeToVersion4(self)
| |
Inherited from Service | |
Add a perspective to this Service. | |
Cache a perspective loaded from an external data source. | |
A hook to use if the identity is required when getting the perspective. | |
Return a Deferred which is a request for a perspective on this service. | |
The name of this service. | |
Get a string describing the type of this service. | |
Deferred Perspective |
Load a perspective from an external data-source. |
| |
Uncache a perspective loaded from an external data source. | |
Inherited from ApplicationService | |
Have my parent disown me. | |
| |
| |
| |
This call is made as a service starts up. | |
This call is made before shutdown. | |
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 | |
---|---|
int |
persistenceVersion = 4 |
class |
perspectiveClass = twisted.words.service.Participant |
Inherited from Service | |
NoneType |
serviceName = None |
NoneType |
serviceType = None |
Inherited from ApplicationService | |
NoneType |
serviceParent = None |
int |
serviceRunning = 0 |
Inherited from Versioned | |
tuple |
persistenceForgets = ()
|
Method Details |
---|
createParticipant(self, name)Create a perspective from self.perspectiveClass and add it to this service.
|
createPerspective(self, name)Create a perspective from self.perspectiveClass and add it to this service.
|
getPerspectiveNamed(self, name)Return a perspective that represents a user for this service. (DEPRECATED) Raises a KeyError if no such user exists. Override this method to provide dynamic instantiation of perspectives. It is only deprecated to call this method directly, not to override it; when you need to get a Perspective, call getPerspectiveRequest.
|
Class Variable Details |
---|
persistenceVersion
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:07:50 2004 | http://epydoc.sf.net |