Changeset 2082 for trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngine.cs
- Timestamp:
- 06/23/09 11:35:41 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngine.cs
r2032 r2082 193 193 } 194 194 195 private HeuristicLab.Hive.Contracts.BusinessObjects.Job CreateJobObj() { 196 HeuristicLab.Hive.Contracts.BusinessObjects.Job jobObj = new HeuristicLab.Hive.Contracts.BusinessObjects.Job(); 195 private HeuristicLab.Hive.Contracts.BusinessObjects.ComputableJob CreateJobObj() { 196 HeuristicLab.Hive.Contracts.BusinessObjects.Job jobObj = 197 new HeuristicLab.Hive.Contracts.BusinessObjects.Job(); 197 198 198 199 MemoryStream memStream = new MemoryStream(); … … 205 206 document.Save(stream); 206 207 stream.Close(); 207 jobObj.SerializedJob = memStream.ToArray(); 208 209 HeuristicLab.Hive.Contracts.BusinessObjects.ComputableJob executableJobObj = 210 new HeuristicLab.Hive.Contracts.BusinessObjects.ComputableJob(); 211 executableJobObj.JobInfo = jobObj; 212 executableJobObj.SerializedJob = memStream.ToArray(); 208 213 209 214 DiscoveryService service = new DiscoveryService(); … … 234 239 jobObj.PluginsNeeded = pluginsNeeded; 235 240 jobObj.State = HeuristicLab.Hive.Contracts.BusinessObjects.State.offline; 236 return jobObj;241 return executableJobObj; 237 242 } 238 243
Note: See TracChangeset
for help on using the changeset viewer.