Esempio n. 1
0
def receiveThread():
    global DISPATCH_QUEUE
    while True:
        message = MessagePasser.receive()
        if message != None:
            # TODO: check the type of the message
            DISPATCH_QUEUE.append(message)
        time.sleep(0.05)
Esempio n. 2
0
def receiveThread():
    global DISPATCH_QUEUE
    while True:
        message = MessagePasser.receive()
        if message != None:
            # TODO: check the type of the message
            DISPATCH_QUEUE.append(message)
        time.sleep(0.05)
Esempio n. 3
0
 def receive(self):
     self.label["text"] = MessagePasser.receive()
Esempio n. 4
0
 def receive(self):
     self.label["text"] = MessagePasser.receive()