예제 #1
0
 def configure(self, config):
     CompositeNode.configure(self, config)
     ActiveProxyAbstractClass.configure(self, config)
     set_attribute(self, 'debug_lvl', 1, config, as_boolean)
     set_attribute(self, 'lan_address', 0, config, int)
     set_attribute(self, 'id_number', 0, config, int)
     set_attribute(self, 'description', '', config)
     set_attribute(self, 'proxy_lan_addr', 0, config, int)
     set_attribute(self, 'proxy_obj_ref', 0, config, int)
     set_attribute(self, 'proxy_direction', 0, config, int)
     set_attribute(self, '__node_id__', self._node_id_, config)
     return
예제 #2
0
파일: points.py 프로젝트: mcruse/monotone
 def configure(self, config):
     CompositeNode.configure(self, config) 
     ActiveProxyAbstractClass.configure(self, config)
     set_attribute(self, 'debug_lvl', 1, config, as_boolean)            
     set_attribute(self, 'lan_address', 0, config, int)
     set_attribute(self, 'id_number', 0, config, int)
     set_attribute(self, 'description', '', config)
     set_attribute(self, 'proxy_lan_addr', 0, config, int)
     set_attribute(self, 'proxy_obj_ref', 0, config, int)
     set_attribute(self, 'proxy_direction', 0, config, int)
     set_attribute(self, '__node_id__', self._node_id_, config)
     return