src/ztfy/utils/interfaces.py
branchZTK-1.1
changeset 172 cca95b4ff0c5
parent 171 0e8925323082
child 174 380f23a1587e
--- a/src/ztfy/utils/interfaces.py	Fri Sep 21 01:18:08 2012 +0200
+++ b/src/ztfy/utils/interfaces.py	Fri Sep 21 12:36:10 2012 +0200
@@ -179,8 +179,11 @@
                             description=_("Realm name on ZEO server"),
                             required=False)
 
-    def getJSONSettings(self):
+    def getSettings(self):
         """Get ZEO connection setting as a JSON dict"""
 
+    def update(self, settings):
+        """Update internal fields with given settings dict"""
+
     def getConnection(self, wait=False):
         """Open ZEO connection with given settings"""