changeset 46:979e53b54267

Redefined several classes as subclasses of the implementations in backend.py. Removed PersistenceService.
author Ralph Meijer <ralphm@ik.nu>
date Wed, 03 Nov 2004 14:06:08 +0000
parents 4447b3c5b857
children 31eb00734cc5
files idavoll/memory_backend.py
diffstat 1 files changed, 3 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/idavoll/memory_backend.py	Wed Nov 03 14:05:12 2004 +0000
+++ b/idavoll/memory_backend.py	Wed Nov 03 14:06:08 2004 +0000
@@ -135,19 +135,11 @@
     def create_node(self, node_id, requestor):
         return self.parent.create_node(node_id, requestor)
 
-class PublishService(service.Service):
+class PublishService(backend.PublishService):
+    pass
 
-    __implements__ = backend.IPublishService,
-    
-    def publish(self, node_id, items, requestor):
-        return self.parent.publish(node_id, items, requestor)
-    
 class NotificationService(backend.NotificationService):
-
-    __implements__ = backend.INotificationService,
-
-    def get_notification_list(self, node_id, items):
-        return self.parent.get_notification_list(node_id, items)
+    pass
 
 class SubscriptionService(service.Service):
 
@@ -158,11 +150,3 @@
 
     def unsubscribe(self, node_id, subscriber, requestor):
         return self.parent.unsubscribe(node_id, subscriber, requestor)
-
-class PersistenceService(service.Service):
-
-    __implements__ = backend.IPersistenceService,
-
-    def store_items(self, node_id, items, publisher):
-        return self.parent.store_items(node_id, items, publisher)
-