示例#1
0
文件: bls.py 项目: tylerwood/EigenD
    def __init__(self,name):
        self.__timer = piw.thing()
        self.__index = piw.index()

        piw.tsd_index(name,self.__index)
        piw.tsd_thing(self.__timer)

        self.__timer.set_slow_timer_handler(utils.notify(self.__timercallback))
        self.__timer.timer_slow(8000)
示例#2
0
 def __init__(self):
     self.lang=None
     self.initialising=True
     self.agentIndex=IndexModel()
     piw.tsd_index('<language>',self.agentIndex)
     self.agentIndex.addIndexListener(self)
     self.languageAgents=[]
     self.langName=''
     self.displays=[]
     self.status=0
示例#3
0
 def __init__(self, name):
     self.__index = index.Index(MirrorProxy, False)
     piw.tsd_index(name, self.__index)
示例#4
0
文件: rexec.py 项目: tylerwood/EigenD
 def __init__(self):
     async .Deferred.__init__(self)
     piw.index.__init__(self)
     piw.tsd_index('<language>', self)
示例#5
0
 def server_opened(self):
     atom.Atom.server_opened(self)
     piw.tsd_index('<%s:main>'%self.__name,self.index)
示例#6
0
文件: agentd.py 项目: jschpmn/EigenD
 def server_opened(self):
     agent.Agent.server_opened(self)
     piw.tsd_index('<main>',self.index)
     self.advertise('<main>')
示例#7
0
 def start(self, index_name):
     database.SimpleDatabase.start(self, index_name)
     self.set_monitor_listener(self.value_changed)
     piw.tsd_index(index_name, self.__mainIndex)
示例#8
0
 def __init__(self, name):
     self.__index = index.Index(self.__factory)
     self.__current = None
     piw.tsd_index(name, self.__index)
示例#9
0
 def start(self,name,rig=None):
     if name not in self.__index:
         self.__index[name] = index.Index(lambda irid: self.proxy(self,rig=rig),False)
         piw.tsd_index(paths.to_absolute('<main>',scope=name),self.__index[name])