예제 #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])