Beispiel #1
0
        public void Run()
        {
            //dummy capture sequence
            dummyCapturer.queue = this.queue;
            dummyCapturer.Run();

            Worker tmpWorker;

            for (var i = 0; i < this._numberOfWorkers; i += 1)
            {
                tmpWorker = new WorkerHttp(this);
                workers.Add(tmpWorker);
                tmpWorker.WorkerSuccess += this.FrameSent;
                tmpWorker.WorkerError   += this.UploadFailed;
                tmpWorker.Run();
            }
        }
Beispiel #2
0
        public void Run()
        {

            //dummy capture sequence
            dummyCapturer.queue = this.queue;
            dummyCapturer.Run();

            Worker tmpWorker;
            for (var i = 0; i < this._numberOfWorkers; i+=1)
            {
                tmpWorker = new WorkerHttp(this);
                workers.Add(tmpWorker);
                tmpWorker.WorkerSuccess += this.FrameSent;
                tmpWorker.WorkerError += this.UploadFailed;
                tmpWorker.Run();
            }
           
        }