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/ExperimentManager/JobResultPoller.cs

    r5055 r5526  
    2121
    2222using System;
     23using System.Collections.Generic;
    2324using System.Threading;
    2425using HeuristicLab.Common;
    25 using HeuristicLab.Services.Hive.Common;
    26 using HeuristicLab.Services.Hive.Common.ServiceContracts;
    2726using HeuristicLab.Services.Hive.Common.DataTransfer;
    28 using System.Collections.Generic;
    29 using HeuristicLab.Clients.Common;
    3027
    3128namespace HeuristicLab.Clients.Hive {
     
    9693
    9794    private void FetchJobResults() {
    98       using (Disposable<IHiveService> service = ServiceLocator.Instance.GetService()) {
    99         IEnumerable<LightweightJob> response = service.Obj.GetLightweightChildJobs(hiveJob.Job.Id, true, true);
     95      ServiceLocator.Instance.CallHiveService(service => {
     96        IEnumerable<LightweightJob> response = service.GetLightweightChildJobs(hiveJob.Job.Id, true, true);
    10097        OnJobResultsReceived(response);
    101       }
     98      });
    10299    }
    103100
Note: See TracChangeset for help on using the changeset viewer.