Package svs_core :: Package utilities :: Module notification :: Class Listenable
[show private | hide private]
[frames | no frames]

Class Listenable

Known Subclasses:
ClientAvatar, ClusterGroup, ClusterGroupManager, SimEventCentre, TimeCursorController, ViewableDataSource

Provides methods for a class providing data for other listener classes.
Method Summary
  __init__(self)
  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

addListener(self, listener, listenFor='_all_')

Adds new listener to avatar.

handleListenRequest(self, listenRequest)

Deals with listen request from another client.

notifyListeners(self, listenFor, dataPacket)

Forward data to listeners.

This should be overridden by implementing classes.

removeListener(self, listener, listenFor='_all_')

Removes listener from avatar.

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