Example #1
0
 def configure(self, config):
     set_attribute(self, 'trigger',REQUIRED,config)
     SynchronizedExporter.configure(self, config)
Example #2
0
 def configuration(self):
     config = SynchronizedExporter.configuration(self)
     get_attribute(self,'trigger',config,str)
     return config
Example #3
0
 def go(self,end_time):
     self._time_keeper.start_time = end_time - self._seconds
     SynchronizedExporter.go(self,end_time)
Example #4
0
 def __init__(self):
     SynchronizedExporter.__init__(self)
     self._sid = None
     self.evt = None #dil - debug
Example #5
0
 def start(self):
     if not self.hours:
         raise EConfiguration('hours must be > 0')
     self._seconds = self.hours * 60 * 60
     SynchronizedExporter.start(self)
Example #6
0
 def configuration(self):
     config = SynchronizedExporter.configuration(self)
     get_attribute(self,'hours',config,str)
     return config
Example #7
0
 def configure(self,config):
     SynchronizedExporter.configure(self,config)
     set_attribute(self,'hours',REQUIRED,config,float)
 def configure(self, config):
     set_attribute(self, 'trigger', REQUIRED, config)
     SynchronizedExporter.configure(self, config)
 def __init__(self):
     SynchronizedExporter.__init__(self)
     self._sid = None
     self.evt = None  #dil - debug