(self)
Send data from aux thread to main thread. The data was put in
        self.queue by the aux thread, and this queue is a Queue.Queue which
        is a synchronized queue for inter-thread communication.
        Note: This method must be called from main thread.
Send data from aux thread to main thread. The data was put in
        self.queue by the aux thread, and this queue is a Queue.Queue which
        is a synchronized queue for inter-thread communication.
        Note: This method must be called from main thread.
Send data from aux thread to main thread . The data was put in self . queue by the aux thread and this queue is a Queue . Queue which is a synchronized queue for inter - thread communication . Note : This method must be called from main thread .
def transferData(self):
        """Send data from aux thread to main thread. The data was put in
        self.queue by the aux thread, and this queue is a Queue.Queue which
        is a synchronized queue for inter-thread communication.
        Note: This method must be called from main thread."""
        self.transfer += 1
        while not self.queue.empty():
            pub.sendMessage('testTopic',
                            transfers=self.transfer,
                            threadObj=threading.currentThread(),
                            count=self.queue.get())
def transferData ( self ) : self . transfer += 1 while not self . queue . empty ( ) : pub . sendMessage ( 'testTopic' , transfers = self . transfer , threadObj = threading . currentThread ( ) , count = self . queue . get ( ) )