Home | Trees | Index | Help |
|
---|
Package twisted :: Package web :: Module server :: Class Session |
|
Versioned
--+ |Componentized
--+ | Session
A user's session with a system.
This utility class contains no functionality, but is used to represent a session.Method Summary | |
---|---|
Initialize a session with a unique ID for that session. | |
checkExpired(self)
| |
Expire/logout of the session. | |
Call this callback when the session expires or logs out. | |
touch(self)
| |
Inherited from Componentized | |
Utility method that calls addComponent. | |
Add a component to me, for all appropriate interfaces. | |
Create or retrieve an adapter for the given interface. | |
| |
Remove the given component from me entirely, for all interfaces for which it has been registered. | |
| |
| |
Remove my component specified by the given interface class. | |
| |
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 Componentized | |
int |
persistenceVersion = 1 |
Inherited from Versioned | |
tuple |
persistenceForgets = ()
|
Method Details |
---|
__init__(self,
site,
uid)
Initialize a session with a unique ID for that session.
|
expire(self)Expire/logout of the session. |
notifyOnExpire(self, callback)Call this callback when the session expires or logs out. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:25 2004 | http://epydoc.sf.net |