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

Class HappyChatZopeSession


Sessions are here temporarly data structure where store avatar informations before avatar creation. The HappyChat Zope Session is create when people ask to view client applet. session id is passed to the applet, and next, applet give session id to get avatar information (here, just nickname)
Method Summary
  __init__(self, session_id, nickname, address)
string __str__(self)
Build an XML structure for this session
  getAddress(self)
  getNickName(self)
string getSessionId(self)
Get the unique identifier of the session
  setAddress(self, address)
Set the IP address of the client
  setNickName(self, nickname)
Set session nickname

Method Details

__str__(self)
(Informal representation operator)

Build an XML structure for this session
Returns:
the XML representation of the session
           (type=string)

getSessionId(self)

Get the unique identifier of the session
Returns:
session string identifier
           (type=string)

setAddress(self, address)

Set the IP address of the client
Parameters:
address - IP adress or dns host name
           (type=string)
Returns:
None

setNickName(self, nickname)

Set session nickname
Parameters:
nickname - New Nickname of the session
           (type=string)
Returns:
None

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