- Timestamp:
- 02/01/11 18:12:46 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/Heartbeat.cs
r5092 r5405 37 37 public Dictionary<Guid, TimeSpan> JobProgress { get; set; } // TODO: define Type 38 38 [DataMember] 39 public bool IsAllowedToCalculate { get; set; } // this is true if slave is allowed to work according to calendar39 public bool AssignJob { get; set; } // if false, the server will not assign a new job 40 40 41 41 public override string ToString() { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/Job.cs
r5402 r5405 40 40 [DataMember] 41 41 public List<Guid> PluginsNeededIds { get; set; } 42 [DataMember] 43 public DateTime? LastHeartbeat { get; set; } 42 44 43 45 public Job() { … … 50 52 this.MemoryNeeded = original.MemoryNeeded; 51 53 this.PluginsNeededIds = new List<Guid>(original.PluginsNeededIds); 54 this.LastHeartbeat = original.LastHeartbeat; 52 55 } 53 56 public override IDeepCloneable Clone(Cloner cloner) { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/Slave.cs
r5404 r5405 50 50 [DataMember] 51 51 public bool IsAllowedToCalculate { get; set; } 52 [DataMember] 53 public DateTime? LastHeartbeat { get; set; } 52 54 53 55 public Slave() { … … 62 64 this.SlaveState = original.SlaveState; 63 65 this.IsAllowedToCalculate = original.IsAllowedToCalculate; 66 this.OperatingSystem = original.OperatingSystem; 67 this.CpuArchitecture = original.CpuArchitecture; 68 this.LastHeartbeat = original.LastHeartbeat; 64 69 } 65 70 public override IDeepCloneable Clone(Cloner cloner) { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/ServiceContracts/IHiveService.cs
r5404 r5405 76 76 #region Login Methods 77 77 [OperationContract] 78 void Hello( Guid slaveId, string name, int cores, int memory);78 void Hello(Slave slave); 79 79 80 80 [OperationContract]
Note: See TracChangeset
for help on using the changeset viewer.