Changeset 1812
- Timestamp:
- 05/14/09 16:55:47 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/3.2/WcfService.cs
r1635 r1812 249 249 #endregion */ 250 250 251 public ResponseResultReceived SendStoredJobResultsSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) { 251 public ResponseResultReceived SendStoredJobResultsSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) { 252 252 return proxy.StoreFinishedJobResult(clientId, jobId, result, percentage, exception); 253 } 254 255 public ResponseResultReceived ProcessSnapshotSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception) { 256 try { 257 ResponseResultReceived res = proxy.ProcessSnapshot(clientId, jobId, result, percentage, null); 258 Logging.Instance.Info(this.ToString(), "Snapshot for Job " + jobId + " submitted"); 259 return res; 260 } 261 catch (Exception e) { 262 HandleNetworkError(e); 263 return null; 264 } 253 265 } 254 266 -
trunk/sources/HeuristicLab.Hive.Client.Core/3.2/Core.cs
r1775 r1812 192 192 Guid jId = (Guid)jobId; 193 193 byte[] obj = engines[jId].GetSnapshot(); 194 wcfService.ProcessSnapshot Async(ConfigManager.Instance.GetClientInfo().Id,194 wcfService.ProcessSnapshotSync(ConfigManager.Instance.GetClientInfo().Id, 195 195 jId, 196 196 obj, 197 197 engines[jId].Progress, 198 null ,199 false);198 null); 199 engines[jId].StartOnlyJob(); 200 200 } 201 201 -
trunk/sources/HeuristicLab.Hive.Client.ExecutionEngine/3.2/Executor.cs
r1655 r1812 65 65 } 66 66 67 public void StartOnlyJob() { 68 Job.Start(); 69 } 70 67 71 public void Abort() { 68 72 CurrentMessage = MessageContainer.MessageType.AbortJob; … … 89 93 byte[] job = SerializeJobObject(); 90 94 // Restart the job 91 Job.Start();92 95 // Return the Snapshot 93 96 return job;
Note: See TracChangeset
for help on using the changeset viewer.