Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/28/10 17:48:10 (14 years ago)
Author:
cneumuel
Message:

HiveExperiment is now able to send IOptimizers of an Experiment and receive the calculated result (#1115)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Client.Core/3.3/Core.cs

    r4107 r4119  
    4545using HeuristicLab.Hive.Client.Core.JobStorage;
    4646using HeuristicLab.Tracing;
     47using HeuristicLab.Core;
    4748
    4849namespace HeuristicLab.Hive.Client.Core {
     
    9899      if (cc.IPAdress != String.Empty && cc.Port != 0)
    99100        wcfService.SetIPAndPort(cc.IPAdress, cc.Port);
    100 
    101       if (!UptimeManager.Instance.CalendarAvailable || UptimeManager.Instance.IsOnline())
    102         wcfService.Connect();
    103101
    104102      //Initialize the heartbeat
     
    249247        if (WcfService.Instance.ConnState == NetworkEnum.WcfConnState.Loggedin) {
    250248          Logger.Info("Sending the finished job with id: " + jId);
    251           wcfService.StoreFinishedJobResultAsync(ConfigManager.Instance.GetClientInfo().Id,
    252             jId,
    253             sJob,
    254             1,
    255             null,
    256             true);
     249          wcfService.StoreFinishedJobResultAsync(ConfigManager.Instance.GetClientInfo().Id, jId, sJob, 1.0, null, true);
    257250        } else {
    258251          Logger.Info("Storing the finished job with id: " + jId + " to hdd");
     
    465458
    466459      foreach (KeyValuePair<Guid, Executor> execKVP in engines) {
    467         if (!execKVP.Value.Running && execKVP.Value.CurrentMessage == MessageContainer.MessageType.NoMessage) {
     460        if (execKVP.Value.ExecutionState != ExecutionState.Started && execKVP.Value.CurrentMessage == MessageContainer.MessageType.NoMessage) {
    468461          Logger.Info("Checking for JobId: " + execKVP.Value.JobId);
    469462          Thread finThread = new Thread(new ParameterizedThreadStart(GetFinishedJob));
     
    513506  }
    514507
    515  
     508
    516509}
Note: See TracChangeset for help on using the changeset viewer.