[Zodb-checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.55 ServerStub.py:1.8
Jeremy Hylton
jeremy@zope.com
Sat, 7 Sep 2002 20:20:21 -0400
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv6373
Modified Files:
ClientStorage.py ServerStub.py
Log Message:
Add update() method to ClientStorage. Formerly known as sync().
=== ZODB3/ZEO/ClientStorage.py 1.54 => 1.55 ===
--- ZODB3/ZEO/ClientStorage.py:1.54 Wed Aug 28 17:17:30 2002
+++ ZODB3/ZEO/ClientStorage.py Sat Sep 7 20:20:20 2002
@@ -171,6 +171,10 @@
else:
return 1
+ def update(self):
+ """Handle any pending invalidation messages."""
+ self._server._update()
+
def notifyConnected(self, conn):
log2(INFO, "Connected to storage via %s" % repr(conn))
=== ZODB3/ZEO/ServerStub.py 1.7 => 1.8 ===
--- ZODB3/ZEO/ServerStub.py:1.7 Thu Aug 29 15:02:48 2002
+++ ZODB3/ZEO/ServerStub.py Sat Sep 7 20:20:20 2002
@@ -18,6 +18,9 @@
def __init__(self, rpc):
self.rpc = rpc
+ def _update(self):
+ self.rpc.pending()
+
def register(self, storage_name, read_only):
self.rpc.call('register', storage_name, read_only)