Changeset 5795 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Executor.cs
- Timestamp:
- 03/22/11 16:44:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Executor.cs
r5793 r5795 88 88 public void Pause() { 89 89 if (Job == null) { 90 throw new InvalidStateException("Job is null"); 90 SlaveClientCom.Instance.ClientCom.LogMessage("Pausing job: Job is null"); 91 Core.EnqueueExecutorMessage(Core.KillAppDomain, JobId); 91 92 } 92 93 … … 105 106 public void Stop() { 106 107 if (Job == null) { 107 throw new InvalidStateException("Job is null"); 108 SlaveClientCom.Instance.ClientCom.LogMessage("Stopping job: Job is null"); 109 Core.EnqueueExecutorMessage(Core.KillAppDomain, JobId); 108 110 } 109 111 wasJobAborted = true; … … 193 195 public JobData GetFinishedJob() { 194 196 if (Job == null) { 195 throw new InvalidStateException("Job is null"); 197 SlaveClientCom.Instance.ClientCom.LogMessage("Getting finished job: Job is null"); 198 Core.EnqueueExecutorMessage(Core.KillAppDomain, JobId); 196 199 } 197 200
Note: See TracChangeset
for help on using the changeset viewer.