def reconnect(self):
        if self.m_num_amqp_msgs <= self.m_message_number:
            return
        else:

            self.elg("RECONNECT EVENT", True)
            self.m_deliveries = []

            # This is the old connection IOLoop instance, stop its ioloop
            self.m_connection.ioloop.stop()

            # Create a new connection
            self.connect()

            # There is now a new connection, needs a new ioloop to run
            self.m_connection.ioloop.start()

    # end of reconnect
Will be invoked by the IOLoop timer if the connection is
dataset/ETHPy150Open GetLevvel/message-simulator/src/rabbit_message_publisher.py/RabbitMessagePublisher.reconnect