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