Ejemplo n.º 1
0
 def init_message_response_queue():
     """ docstring"""
     response_queue = queue.Queue()
     message_response_queue = MessageResponseQueue(response_queue)
     message_response_queue.setDaemon(True)
     message_response_queue.start()
     Scope.get_instance().set_response_queue(response_queue)
     return response_queue
Ejemplo n.º 2
0
 def init_message_response_queue():
     """ docstring"""
     response_queue = queue.Queue()
     message_response_queue = MessageResponseQueue(response_queue)
     message_response_queue.setDaemon(True)
     message_response_queue.start()
     Scope.get_instance().set_response_queue(response_queue)
     return response_queue
Ejemplo n.º 3
0
    def init_message_response_queue():
        """ docstring"""
        self.logger.debug('init_message_response_queue1')
        response_queue = queue.Queue()

        self.logger.debug('init_message_response_queue2')
        message_response_queue = MessageResponseQueue(response_queue)

        self.logger.debug('init_message_response_queue3')
        message_response_queue.setDaemon(True)

        self.logger.debug('init_message_response_queue4')
        message_response_queue.start()

        self.logger.debug('init_message_response_queue5')
        Scope.get_instance().set_response_queue(response_queue)
        return response_queue