comparison tools/memory.py @ 14:a62d7d453f22

wokkel integration, part II - disco client - fallback handler (for unmanaged iq requests) - software version (XEP-0092)
author Goffi <goffi@goffi.org>
date Fri, 30 Oct 2009 20:05:25 +0100
parents bd9e9997d540
children 74a39f40eb6d
comparison
equal deleted inserted replaced
13:bd9e9997d540 14:a62d7d453f22
175 def createParam (self, name, value, type, namespace): 175 def createParam (self, name, value, type, namespace):
176 ### TODO: add desciption in params 176 ### TODO: add desciption in params
177 if not self.params.has_key(namespace): 177 if not self.params.has_key(namespace):
178 self.params[namespace]={} 178 self.params[namespace]={}
179 self.params[namespace][name]=[value,type]; 179 self.params[namespace][name]=[value,type];
180
181 def registerFeature(self, feature, callback=None):
182 self.features[feature]=callback
183