Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/02/10 17:27:24 (14 years ago)
Author:
cneumuel
Message:
  • Made HiveExperiment storable, so that a running HiveExperiment can be disconnected, stored and later resumed. (#1115)
  • Added Log to each JobItem (#1115)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/ResponseSerializedJob.cs

    r2117 r4133  
    2626using HeuristicLab.Hive.Contracts.BusinessObjects;
    2727using System.Runtime.Serialization;
     28using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2829
    2930namespace HeuristicLab.Hive.Contracts {
     
    3334  /// If a client pulls a Job from the server he gets a ResponseJob as answer
    3435  /// </summary>
     36  [StorableClass]
    3537  [DataContract]
    3638  [Serializable]
    3739  public class ResponseSerializedJob : Response {
     40    [Storable]
    3841    [DataMember]
    3942    public SerializedJob Job { get; set; }
     43
     44    public override Common.IDeepCloneable Clone(Common.Cloner cloner) {
     45      ResponseSerializedJob clone = (ResponseSerializedJob) base.Clone(cloner);
     46      clone.Job = (SerializedJob)cloner.Clone(this.Job);
     47      return clone;
     48    }
    4049  }
    4150}
Note: See TracChangeset for help on using the changeset viewer.