Changeset 1085 for trunk/sources/HeuristicLab.Hive.Client.Core
- Timestamp:
- 01/07/09 16:41:36 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Client.Core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/ClientConsoleService/ClientConsoleCommunicator.cs
r1083 r1085 6 6 using HeuristicLab.Hive.Client.Core.ConfigurationManager; 7 7 using HeuristicLab.Hive.Client.Communication; 8 using HeuristicLab.Hive.Client.Common; 9 using HeuristicLab.Hive.Contracts; 8 10 9 11 namespace HeuristicLab.Hive.Client.Core.ClientConsoleService { … … 35 37 36 38 public void ShutdownClient() { 37 Core.ShutdownFlag = true;39 MessageQueue.GetInstance().AddMessage(MessageContainer.MessageType.Shutdown); 38 40 } 39 41 -
trunk/sources/HeuristicLab.Hive.Client.Core/Core.cs
r1083 r1085 117 117 Thread finThread = new Thread(new ParameterizedThreadStart(GetFinishedJob)); 118 118 finThread.Start(container.JobId); 119 break; 119 break; 120 case MessageContainer.MessageType.Shutdown: 121 ShutdownFlag = true; 122 break; 120 123 } 121 124 }
Note: See TracChangeset
for help on using the changeset viewer.