- Timestamp:
- 05/22/13 15:29:15 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Clients.Hive.Slave.AzureClient/3.3/WorkerRole.cs
r9375 r9508 34 34 35 35 public class WorkerRole : RoleEntryPoint { 36 private Core core;36 private HeuristicLab.Clients.Hive.SlaveCore.Core core; 37 37 private Thread coreThread; 38 38 … … 43 43 try { 44 44 LogError(new Exception("Starting Run()...")); 45 core = new Core(false);45 core = new HeuristicLab.Clients.Hive.SlaveCore.Core(false); 46 46 47 47 string hiveServerAddress = RoleEnvironment.GetConfigurationSettingValue(HiveServerAddressSetting); … … 55 55 coreThread = new Thread(core.Start); 56 56 coreThread.Start(); 57 58 WcfService.Instance.Connected += new EventHandler((sender, e) => { 59 HiveHelper.RegisterSlaveToGroup(RoleEnvironment.GetConfigurationSettingValue("HiveGroup")); 60 }); 57 61 58 62 LogError(new Exception("Run(): Core started successfullly"));
Note: See TracChangeset
for help on using the changeset viewer.