Exemplo 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)
Exemplo 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)
Exemplo n.º 3
0
 def receive(self):
     self.label["text"] = MessagePasser.receive()
Exemplo n.º 4
0
 def receive(self):
     self.label["text"] = MessagePasser.receive()