Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/21/11 17:35:42 (14 years ago)
Author:
cneumuel
Message:

#1233

  • fixed handling of StateLog in DataLayer
  • extended unit tests
  • changed style of service calls to OKB-like style (using delegates)
  • added possibility that parent jobs can be finished immediately when child jobs are finished
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/Administration/HiveAdministrationClient.cs

    r5525 r5526  
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Services.Hive.Common.DataTransfer;
    27 using HeuristicLab.Services.Hive.Common.ServiceContracts;
    2827
    2928namespace HeuristicLab.Clients.Hive.Administration {
     
    5150
    5251    public void UpdateSlaveGroups() {
    53       using (HeuristicLab.Clients.Common.Disposable<IHiveService> service = ServiceLocator.Instance.GetService()) {
    54 
     52      ServiceLocator.Instance.CallHiveService(service => {
    5553        /*SlaveGroup sg = new SlaveGroup();
    5654        sg.Name = "Test" + Guid.NewGuid();
     
    5957        service.Obj.AddSlaveGroup(sg);*/
    6058
    61         SlaveGroups = new List<SlaveGroup>(service.Obj.GetSlaveGroups());
    62         Slaves = new List<Slave>(service.Obj.GetSlaves());
     59        SlaveGroups = new List<SlaveGroup>(service.GetSlaveGroups());
     60        Slaves = new List<Slave>(service.GetSlaves());
    6361        OnItemImageChanged();
    64       }
     62      });
    6563    }
    6664  }
Note: See TracChangeset for help on using the changeset viewer.