- Timestamp:
- 12/09/10 13:55:41 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/Hive.cs
r5028 r5078 129 129 Slave slave = dao.GetSlave(heartbeat.SlaveId); 130 130 if (slave == null) { 131 actions.Add(new MessageContainer(MessageContainer.MessageType. AddSlaveInfo));131 actions.Add(new MessageContainer(MessageContainer.MessageType.SayHello)); 132 132 } else { 133 133 heartbeats[heartbeat.SlaveId] = DateTime.Now; 134 134 actions.AddRange(UpdateJobs(heartbeat)); 135 135 136 //check if new Cal must be loaded137 if (slave.CalendarSyncState == CalendarState.Fetch || slave.CalendarSyncState == CalendarState.ForceFetch) {138 actions.Add(new MessageContainer(MessageContainer.MessageType.UpdateCalendar));139 }140 141 136 if (this.IsAllowedToSendJobs() && slave.IsAllowedToCalculate && heartbeat.FreeCores > 0) { 142 137 var availableJobs = dao.GetWaitingJobs(slave); 143 138 if (availableJobs.Count() > 0) { 144 actions.Add(new MessageContainer(MessageContainer.MessageType. FetchJob));139 actions.Add(new MessageContainer(MessageContainer.MessageType.AquireJob)); 145 140 } 146 141 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs
r5062 r5078 17 17 /// Implementation of the Hive service (interface <see cref="IHiveService"/>). 18 18 /// </summary> 19 [ServiceBehavior(IncludeExceptionDetailInFaults = true)]20 19 public class HiveService : IHiveService { 21 20 private DataAccess.IHiveDao dao { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/app.config
r5028 r5078 63 63 <host> 64 64 <baseAddresses> 65 <add baseAddress="http://localhost:9000/Hive-3. 3" />65 <add baseAddress="http://localhost:9000/Hive-3.4" /> 66 66 </baseAddresses> 67 67 </host>
Note: See TracChangeset
for help on using the changeset viewer.