[Zope-Checkins] CVS: ZODB3/ZEO/zrpc - server.py:1.8

Jeremy Hylton jeremy@zope.com
Thu, 9 Jan 2003 16:50:21 -0500


Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv26741/zrpc

Modified Files:
	server.py 
Log Message:
Add provisional monitor server that reports server statistics

Also, remove unused reuse_addr arg to ZEO.zrpc.server.  The server was
always calling set_reuse_addr().

No tests yet, that's the next step.  Simple functional tests work.



=== ZODB3/ZEO/zrpc/server.py 1.7 => 1.8 ===
--- ZODB3/ZEO/zrpc/server.py:1.7	Fri Dec 13 16:37:14 2002
+++ ZODB3/ZEO/zrpc/server.py	Thu Jan  9 16:50:19 2003
@@ -27,15 +27,11 @@
     """A server that accepts incoming RPC connections"""
     __super_init = asyncore.dispatcher.__init__
 
-    reuse_addr = 1
-
-    def __init__(self, addr, factory=Connection, reuse_addr=None):
+    def __init__(self, addr, factory=Connection):
         self.__super_init()
         self.addr = addr
         self.factory = factory
         self.clients = []
-        if reuse_addr is not None:
-            self.reuse_addr = reuse_addr
         self._open_socket()
 
     def _open_socket(self):