[Zope-Checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.73.2.7.2.4
Jeremy Hylton
jeremy@zope.com
Tue, 17 Dec 2002 14:32:08 -0500
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv6765/ZEO
Modified Files:
Tag: ZODB3-fast-restart-branch
ClientStorage.py
Log Message:
Remove old-style protocol names.
=== ZODB3/ZEO/ClientStorage.py 1.73.2.7.2.3 => 1.73.2.7.2.4 ===
--- ZODB3/ZEO/ClientStorage.py:1.73.2.7.2.3 Tue Dec 17 14:07:48 2002
+++ ZODB3/ZEO/ClientStorage.py Tue Dec 17 14:32:08 2002
@@ -828,14 +828,8 @@
f.close()
def invalidateTransaction(self, tid, args):
+ """Invalidate objects modified by tid."""
self._last_inval_tid = tid
- self.invalidateTrans(args)
-
- def invalidateTrans(self, args):
- """Server callback to invalidate a list of (oid, version) pairs.
-
- This is called as the result of a transaction.
- """
for oid, version in args:
self._cache.invalidate(oid, version=version)
try:
@@ -845,15 +839,3 @@
"Invalidate(%s, %s) failed for _db: %s" % (repr(oid),
repr(version),
msg))
-
- # Unfortunately, the ZEO 2 wire protocol uses different names for
- # several of the callback methods invoked by the StorageServer.
- # We can't change the wire protocol at this point because that
- # would require synchronized updates of clients and servers and we
- # don't want that. So here we alias the old names to their new
- # implementations.
-
- begin = beginVerify
- invalidate = invalidateVerify
- end = endVerify
- Invalidate = invalidateTrans