Changeset 6371 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.ConsoleClient
- Timestamp:
- 06/06/11 18:33:03 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.ConsoleClient
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.ConsoleClient/Program.cs
r6101 r6371 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using System.Threading; 24 24 25 26 27 25 namespace HeuristicLab.Clients.Hive.SlaveCore.ConsoleClient { 28 26 public class Program { 29 27 static void Main(string[] args) { 30 //mock the hive service for testing purposes31 //ServiceLocator.Instance = new MockServiceLocator();32 33 28 //slave part 34 29 Core core = new Core(); … … 47 42 listener.Close(); 48 43 core.Shutdown(); 49 Console.Read Key();44 Console.ReadLine(); 50 45 } 51 46 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.ConsoleClient/SlaveCommListener.cs
r6359 r6371 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 30 30 /// <summary> 31 /// mock a client, simply print out messages31 /// Mock a client, simply print out messages 32 32 /// </summary> 33 33 [CallbackBehavior(ConcurrencyMode = ConcurrencyMode.Reentrant)] … … 75 75 76 76 public void OnStatusChanged(StatusCommons status) { 77 string msg = string.Format( 77 string msg = string.Format("{0}: {1}", DateTime.Now.ToString("HH:mm:ss"), status); 78 78 Console.WriteLine(msg); 79 79 debugOutput.WriteLine(msg);
Note: See TracChangeset
for help on using the changeset viewer.