Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Hive.Client.Common/JobBase.cs @ 742

Last change on this file since 742 was 742, checked in by kgrading, 16 years ago

Implemented a first version of the job (#356)

File size: 465 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading;
6
7namespace HeuristicLab.Hive.Client.Common {
8  abstract public class JobBase {
9
10    private Thread thread = null;
11    public int Progress { get; set; }
12   
13
14    abstract public void Run();
15
16    public void Start() {
17      thread = new Thread(new ThreadStart(Run));
18      thread.Start();
19    }
20    public JobBase() {
21    }
22  }
23}
Note: See TracBrowser for help on using the repository browser.