Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/09/10 13:55:41 (14 years ago)
Author:
cneumuel
Message:

#1233

  • removed dash from solution file name
  • reorganized MessageContainer.MessageTypes
  • added server test project
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  
    129129      Slave slave = dao.GetSlave(heartbeat.SlaveId);
    130130      if (slave == null) {
    131         actions.Add(new MessageContainer(MessageContainer.MessageType.AddSlaveInfo));
     131        actions.Add(new MessageContainer(MessageContainer.MessageType.SayHello));
    132132      } else {
    133133        heartbeats[heartbeat.SlaveId] = DateTime.Now;
    134134        actions.AddRange(UpdateJobs(heartbeat));
    135135
    136         //check if new Cal must be loaded
    137         if (slave.CalendarSyncState == CalendarState.Fetch || slave.CalendarSyncState == CalendarState.ForceFetch) {
    138           actions.Add(new MessageContainer(MessageContainer.MessageType.UpdateCalendar));
    139         }
    140 
    141136        if (this.IsAllowedToSendJobs() && slave.IsAllowedToCalculate && heartbeat.FreeCores > 0) {
    142137          var availableJobs = dao.GetWaitingJobs(slave);
    143138          if (availableJobs.Count() > 0) {
    144             actions.Add(new MessageContainer(MessageContainer.MessageType.FetchJob));
     139            actions.Add(new MessageContainer(MessageContainer.MessageType.AquireJob));
    145140          }
    146141        }
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs

    r5062 r5078  
    1717  /// Implementation of the Hive service (interface <see cref="IHiveService"/>).
    1818  /// </summary>
    19   [ServiceBehavior(IncludeExceptionDetailInFaults = true)]
    2019  public class HiveService : IHiveService {
    2120    private DataAccess.IHiveDao dao {
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/app.config

    r5028 r5078  
    6363        <host>
    6464          <baseAddresses>
    65             <add baseAddress="http://localhost:9000/Hive-3.3" />
     65            <add baseAddress="http://localhost:9000/Hive-3.4" />
    6666          </baseAddresses>
    6767        </host>
Note: See TracChangeset for help on using the changeset viewer.