Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1588


Ignore:
Timestamp:
04/17/09 12:01:18 (16 years ago)
Author:
msteinbi
Message:

abort aborts - only one abort request must be sent to client (#572)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/BusinessObjects/Job.cs

    r1580 r1588  
    5656    [DataMember]
    5757    public List<HivePluginInfo> PluginsNeeded { get; set; }
     58
     59    public Job() {
     60      PluginsNeeded = new List<HivePluginInfo>();
     61    }
    5862  }
    5963}
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ClientCommunicator.cs

    r1577 r1588  
    291291            // a request to abort the job has been set
    292292            response.ActionRequest.Add(new MessageContainer(MessageContainer.MessageType.AbortJob, curJob.Id));
     293            curJob.State = State.offline;
    293294          } else {
    294295            // save job progress
     
    299300              // a request for a snapshot has been set
    300301              response.ActionRequest.Add(new MessageContainer(MessageContainer.MessageType.RequestSnapshot, curJob.Id));
     302              curJob.State = State.calculating;
    301303            }
    302304          }
Note: See TracChangeset for help on using the changeset viewer.