[Zodb-checkins] CVS: ZODB4/src/zodb/zeo/zrpc - connection.py:1.5.24.1

Jeremy Hylton jeremy at zope.com
Tue Jun 17 18:59:54 EDT 2003


Update of /cvs-repository/ZODB4/src/zodb/zeo/zrpc
In directory cvs.zope.org:/tmp/cvs-serv10995/src/zodb/zeo/zrpc

Modified Files:
      Tag: ZODB3-2-merge
	connection.py 
Log Message:
Checkpoint progress merging ZODB 3.2 features and fixes into ZODB4.


=== ZODB4/src/zodb/zeo/zrpc/connection.py 1.5 => 1.5.24.1 ===
--- ZODB4/src/zodb/zeo/zrpc/connection.py:1.5	Fri Mar 14 10:51:05 2003
+++ ZODB4/src/zodb/zeo/zrpc/connection.py	Tue Jun 17 17:59:23 2003
@@ -365,6 +365,14 @@
         self.send_call(method, args, ASYNC)
         self.poll()
 
+    def callAsyncNoPoll(self, method, *args):
+        # Like CallAsync but doesn't poll.  This exists so that we can
+        # send invalidations atomically to all clients without
+        # allowing any client to sneak in a load request.
+        if self.closed:
+            raise DisconnectedError()
+        self.send_call(method, args, ASYNC)
+
     # handle IO, possibly in async mode
 
     def _prepare_async(self):




More information about the Zodb-checkins mailing list