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 )
| |
__setstate__(self,
state)
(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 )
| |
locateAdapterClass(self,
klass,
interfaceClass,
default,
registry)
(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 )
| |
setAdapter(self,
interfaceClass,
adapterClass)
(inherited from Componentized )
| |
setComponent(self,
interfaceClass,
component)
(inherited from Componentized )
| |
touch(self)
| |
Remove my component specified by the given interface class. (inherited from Componentized )
| |
upgradeToVersion1(self)
(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.1 on Thu May 8 13:19:08 2003 | http://epydoc.sf.net |