Package HappyChat :: Module HappyChatSessionManager :: Class _HappyChatZopeSessionManager
[show private | hide private]
[frames | no frames]

Class _HappyChatZopeSessionManager


Method Summary
  __init__(self)
HappyChatZopeSession _createUniqueSession(self)
Create an unique id and reserve it
  _generateId(self)
string createSession(self, nickname)
Create a session structure and return an unique session id
  delSession(self, session_id)
Remove a session by its session identifier
  getSession(self, session_id)
Get the Session

Class Variable Summary
NoneType instance = None                                                                  

Method Details

_createUniqueSession(self)

Create an unique id and reserve it
Returns:
the session object
           (type=HappyChatZopeSession)

createSession(self, nickname)

Create a session structure and return an unique session id
Returns:
unique session id
           (type=string)

delSession(self, session_id)

Remove a session by its session identifier
Parameters:
session_id - Session identifier to destroy
           (type=string)

getSession(self, session_id)

Get the Session
Parameters:
session_id - Session string identifier

Class Variable Details

instance

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Sun Sep 19 21:40:09 2004 http://epydoc.sf.net