- Timestamp:
- 01/07/09 16:41:36 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 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 } -
trunk/sources/HeuristicLab.Hive.Contracts/MessageContainer.cs
r783 r1085 33 33 public class MessageContainer { 34 34 35 public enum MessageType { FetchJob, AbortJob, JobAborted, RequestSnapshot, FinishedJob, NoMessage, SnapshotReady };35 public enum MessageType { FetchJob, AbortJob, JobAborted, RequestSnapshot, FinishedJob, NoMessage, SnapshotReady, Shutdown }; 36 36 37 37 public MessageType Message { get; set; }
Note: See TracChangeset
for help on using the changeset viewer.