[Zodb-checkins] CVS: Packages/ZEO - StorageServer.py:1.21.4.2

jeremy@digicool.com jeremy@digicool.com
Thu, 29 Mar 2001 08:35:18 -0500 (EST)


Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv10282

Modified Files:
      Tag: ZEO-ZRPC-Dev
	StorageServer.py 
Log Message:
Hack alert: Use zrpc2.ManagedServerConnection instead of
zrpc.ManagedConnection 



--- Updated File StorageServer.py in package Packages/ZEO --
--- StorageServer.py	2001/03/17 00:41:48	1.21.4.1
+++ StorageServer.py	2001/03/29 13:35:17	1.21.4.2
@@ -7,7 +7,7 @@
 import zrpc2
 import zLOG
 
-from zrpc2 import Dispatcher, Handler, ManagedConnection, Delay
+from zrpc2 import Dispatcher, Handler, ManagedServerConnection, Delay
 from ZODB.POSException import StorageError, StorageTransactionError, \
      TransactionError
 from ZODB.referencesf import referencesf
@@ -36,7 +36,7 @@
         Dispatcher(addr, factory=self.newConnection, reuse_addr=1)
 
     def newConnection(self, sock, addr, nil):
-        c = ManagedConnection(sock, addr, None, self)
+        c = ManagedServerConnection(sock, addr, None, self)
         c.register_object(StorageProxy(self, c))
         
     def register(self, storage_id, proxy):