Ejemplo n.º 1
0
 def event_check(self):
     while True:
         try:
             event = Shared.event_queue.get(
                 block=False)  # @UndefinedVariable
             event.kwargs['remote'] = True
             broadcast_event(self.context, event)
         except Empty:
             break
 def event_check(self):
     while True:
         try:
             event = Shared.event_queue.get(
                     block=False)  # @UndefinedVariable
             event.kwargs['remote'] = True
             broadcast_event(self.context, event)
         except Empty:
             break
Ejemplo n.º 3
0
 def event_check(self):
     events = RedisInterface.events_read()
     for event in events:
         event.kwargs['remote'] = True
         broadcast_event(event)