Package svs_demogame :: Module analysis :: Class MessageHistory
[show private | hide private]
[frames | no frames]

Class MessageHistory

    Listenable --+    
                 |    
ViewableDataSource --+
                     |
                    MessageHistory


Provides analysis data about chat messages.

Messages are ordered into sets according to the sender.
Method Summary
  __init__(self)
  addMessage(self, message)
Adds new message to history.
  addMessageClient(self, clientName)
Adds new message client to history.
    Inherited from ViewableDataSource
  addView(self, view)
Adds view to data source.
  removeView(self, view)
Removes view from data source.
  updateViews(self, displayData)
Notifies views that the source has been altered and needs redisplayed.
    Inherited from Listenable
  addListener(self, listener, listenFor)
Adds new listener to avatar.
  handleListenRequest(self, listenRequest)
Deals with listen request from another client.
  notifyListeners(self, listenFor, dataPacket)
Forward data to listeners.
  removeListener(self, listener, listenFor)
Removes listener from avatar.

Method Details

addMessage(self, message)

Adds new message to history.

addMessageClient(self, clientName)

Adds new message client to history.

A message client can be either a sender or recipient of messages.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:26 2005 http://epydoc.sf.net