Changeset 6381 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/WcfService.cs
- Timestamp:
- 06/08/11 00:04:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/WcfService.cs
r6371 r6381 101 101 /// Uploads the jobData and sets a new jobState (while correctly setting Transferring state) 102 102 /// </summary> 103 public void UpdateJobData(Job job, JobData jobData, Guid slaveId, JobState state ) {103 public void UpdateJobData(Job job, JobData jobData, Guid slaveId, JobState state, string exception = "") { 104 104 CallHiveService(service => { 105 105 service.UpdateJob(job); 106 106 job = service.UpdateJobState(job.Id, JobState.Transferring, slaveId, null, null); 107 107 service.UpdateJobData(job, jobData); 108 service.UpdateJobState(job.Id, state, slaveId, null, null);108 service.UpdateJobState(job.Id, state, slaveId, null, exception); 109 109 }); 110 110 }
Note: See TracChangeset
for help on using the changeset viewer.