Beispiel #1
0
    def __init__(self, singleton=None, init=False):
        self.singleton = singleton
        self.broker_token = None
        self.client_push_broker_pull = None
        self.sched = _Scheduler(self.on_job_executed)

        if init:
            self.init()
Beispiel #2
0
    def __init__(self, singleton=None, init=False):
        self.singleton = singleton
        self.broker_token = None
        self.client_push_broker_pull = None
        self.sched = _Scheduler(self.on_job_executed)

        if init:
            self.init()