Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Grid/3.2/ClientController.cs @ 3274

Last change on this file since 3274 was 2518, checked in by epitzer, 15 years ago

Use DataGrid to monitor several grid client instances inside a single grid application. (#805)

File size: 516 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace HeuristicLab.Grid {
7
8  class ClientController {
9    public GridClient Client { get; set; }
10    public string Status { get; set; }
11    public string Message { get; set; }
12    public bool Running {
13      get {
14        return !Client.Stopped;
15      }
16      set {
17        if (value == Running)
18          return;
19        if (!value)         
20          Client.Stop();
21      }
22    }         
23  }
24}
Note: See TracBrowser for help on using the repository browser.