def configure(self, config): set_attribute(self, 'trigger',REQUIRED,config) SynchronizedExporter.configure(self, config)
def configuration(self): config = SynchronizedExporter.configuration(self) get_attribute(self,'trigger',config,str) return config
def go(self,end_time): self._time_keeper.start_time = end_time - self._seconds SynchronizedExporter.go(self,end_time)
def __init__(self): SynchronizedExporter.__init__(self) self._sid = None self.evt = None #dil - debug
def start(self): if not self.hours: raise EConfiguration('hours must be > 0') self._seconds = self.hours * 60 * 60 SynchronizedExporter.start(self)
def configuration(self): config = SynchronizedExporter.configuration(self) get_attribute(self,'hours',config,str) return config
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)