コード例 #1
0
        /**************************************************************************/

        //[Test] // Not implemented
        public void TestWorker()
        {
            List <string> alUrls = new List <string>();

            alUrls.Add("http://localhost/");

            for (int i = 0; i < alUrls.Count; i++)
            {
                MacroscopeJobMaster JobMaster;

                JobMaster = new MacroscopeJobMaster(JobRunTimeMode: MacroscopeConstants.RunTimeMode.LIVE);

                MacroscopeJobWorker Worker = new MacroscopeJobWorker(JobMaster);

                JobMaster.AddUrlQueueItem(alUrls[i]);

                Worker.Execute();
            }
        }