[Zope-Checkins] CVS: Zope3/lib/python/Zope/Event - EventService.py:1.1.2.2 IEventService.py:1.1.2.2 __init__.py:1.1.2.2

Steve Alexander steve@cat-box.net
Sat, 23 Feb 2002 07:00:41 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Event
In directory cvs.zope.org:/tmp/cvs-serv24487

Modified Files:
      Tag: Zope-3x-branch
	EventService.py IEventService.py __init__.py 
Log Message:
There's now a filesystem based event service.



=== Zope3/lib/python/Zope/Event/EventService.py 1.1.2.1 => 1.1.2.2 ===
     __implements__ = IEventService
         
-    def publish(self, event):
+    def publishEvent(self, event):
 
         self.notify(event)
     


=== Zope3/lib/python/Zope/Event/IEventService.py 1.1.2.1 => 1.1.2.2 ===
     """
     
-    def publish(event):
+    def publishEvent(event):
         """
         Notify all subscribers of the channel of event.
 


=== Zope3/lib/python/Zope/Event/__init__.py 1.1.2.1 => 1.1.2.2 ===
 """
 
+from IEventService import IEventService
+
+from hooks import publishEvent, subscribe, unsubscribe
+
+def _clear():
+    from hooks import _clear; _clear()
+    from EventService import _clear; _clear()
+
+__implements__ = IEventService