Changeset 2099 for trunk/sources/HeuristicLab.Grid.HiveBridge
- Timestamp:
- 06/25/09 13:54:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Grid.HiveBridge/3.2/HiveGridServerWrapper.cs
r2092 r2099 48 48 49 49 public JobState JobState(Guid guid) { 50 ResponseObject< JobResult> response = SavelyExecute(() => executionEngine.GetLastResult(guid, false));50 ResponseObject<SerializedJobResult> response = SavelyExecute(() => executionEngine.GetLastSerializedResult(guid, false)); 51 51 if (response != null && response.Success == true && 52 52 (response.StatusMessage == ApplicationConstants.RESPONSE_JOB_RESULT_NOT_YET_HERE || … … 66 66 67 67 public byte[] TryEndExecuteEngine(Guid guid) { 68 ResponseObject< JobResult> response = SavelyExecute(() => executionEngine.GetLastResult(guid, false));68 ResponseObject<SerializedJobResult> response = SavelyExecute(() => executionEngine.GetLastSerializedResult(guid, false)); 69 69 if (response != null && 70 70 response.Success && response.Obj != null) { 71 HeuristicLab.Hive.Engine.Job restoredJob = (HeuristicLab.Hive.Engine.Job)PersistenceManager.RestoreFromGZip(response.Obj. Result);71 HeuristicLab.Hive.Engine.Job restoredJob = (HeuristicLab.Hive.Engine.Job)PersistenceManager.RestoreFromGZip(response.Obj.SerializedJobResultData); 72 72 // only return the engine when it wasn't canceled (result is only a snapshot) 73 73 if (!restoredJob.Engine.Canceled) {
Note: See TracChangeset
for help on using the changeset viewer.