Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/06/11 18:33:03 (13 years ago)
Author:
ascheibe
Message:

#1233

  • code cleanups for slave review
  • added switch between privileged and unprivileged sandbox
  • removed childjob management because it's not used
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  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2323using System.Threading;
    2424
    25 
    26 
    2725namespace HeuristicLab.Clients.Hive.SlaveCore.ConsoleClient {
    2826  public class Program {
    2927    static void Main(string[] args) {
    30       //mock the hive service for testing purposes
    31       //ServiceLocator.Instance = new MockServiceLocator();
    32 
    3328      //slave part
    3429      Core core = new Core();
     
    4742      listener.Close();
    4843      core.Shutdown();
    49       Console.ReadKey();
     44      Console.ReadLine();
    5045    }
    5146  }
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.ConsoleClient/SlaveCommListener.cs

    r6359 r6371  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2929
    3030  /// <summary>
    31   /// mock a client, simply print out messages
     31  /// Mock a client, simply print out messages
    3232  /// </summary>
    3333  [CallbackBehavior(ConcurrencyMode = ConcurrencyMode.Reentrant)]
     
    7575
    7676    public void OnStatusChanged(StatusCommons status) {
    77       string msg = string.Format( "{0}: {1}", DateTime.Now.ToString("HH:mm:ss"), status);
     77      string msg = string.Format("{0}: {1}", DateTime.Now.ToString("HH:mm:ss"), status);
    7878      Console.WriteLine(msg);
    7979      debugOutput.WriteLine(msg);
Note: See TracChangeset for help on using the changeset viewer.