[Zope-Checkins] CVS: ZODB3/ZEO/zrpc - smac.py:1.34.2.1.2.1

Jeremy Hylton jeremy@zope.com
Fri, 1 Nov 2002 14:18:09 -0500


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

Modified Files:
      Tag: ZODB3-deadlock-debug-branch
	smac.py 
Log Message:
Add method to get the address of the server we're connected to.


=== ZODB3/ZEO/zrpc/smac.py 1.34.2.1 => 1.34.2.1.2.1 ===
--- ZODB3/ZEO/zrpc/smac.py:1.34.2.1	Wed Oct 16 17:44:06 2002
+++ ZODB3/ZEO/zrpc/smac.py	Fri Nov  1 14:18:09 2002
@@ -77,6 +77,9 @@
         self.__closed = 0
         self.__super_init(sock, map)
 
+    def get_addr(self):
+        return self.addr
+
     # XXX avoid expensive getattr calls?  Can't remember exactly what
     # this comment was supposed to mean, but it has something to do
     # with the way asyncore uses getattr and uses if sock: