Package rdflib :: Module events :: Class Event
[show private | hide private]
[frames | no frames]

Type Event

object --+
         |
        Event

Known Subclasses:
StoreCreatedEvent, TripleAddedEvent, TripleRemovedEvent

An event is a container for attributes. The source of an event creates this object, or a subclass, gives it any kind of data that the events handlers need to handle the event, and then calls notify(event).

The target of an event registers a function to handle the event it is interested with subscribe(). When a sources calls notify(event), each subscriber to that even will be called i no particular order.
Method Summary
  __init__(self, **kw)
  __repr__(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Generated by Epydoc 2.1 on Wed Apr 4 16:05:46 2007 http://epydoc.sf.net