| 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. | |
Get state, adding a version number to it on its way out. (inherited from Versioned)
| |
(inherited from Versioned)
| |
Utility method that calls addComponent. (inherited from Componentized)
| |
Add a component to me, for all appropriate interfaces. (inherited from Componentized)
| |
checkExpired(self)
| |
Expire/logout of the session. | |
Create or retrieve an adapter for the given interface. (inherited from Componentized)
| |
(inherited from Componentized)
| |
Call this callback when the session expires or logs out. | |
Remove the given component from me entirely, for all interfaces which it has been registered. (inherited from Componentized)
| |
(inherited from Componentized)
| |
(inherited from Componentized)
| |
touch(self)
| |
Remove my component specified by the given interface class. (inherited from Componentized)
| |
(inherited from Componentized)
| |
(internal) Do a version upgrade. (inherited from Versioned)
| |
| 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 1.2 prerelease on Wed Jan 29 06:29:16 2003 | http://epydoc.sf.net |