Changeset 5526 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/JobResultPoller.cs
- Timestamp:
- 02/21/11 17:35:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/JobResultPoller.cs
r5055 r5526 21 21 22 22 using System; 23 using System.Collections.Generic; 23 24 using System.Threading; 24 25 using HeuristicLab.Common; 25 using HeuristicLab.Services.Hive.Common;26 using HeuristicLab.Services.Hive.Common.ServiceContracts;27 26 using HeuristicLab.Services.Hive.Common.DataTransfer; 28 using System.Collections.Generic;29 using HeuristicLab.Clients.Common;30 27 31 28 namespace HeuristicLab.Clients.Hive { … … 96 93 97 94 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); 100 97 OnJobResultsReceived(response); 101 } 98 }); 102 99 } 103 100
Note: See TracChangeset
for help on using the changeset viewer.