Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/19/10 15:47:46 (14 years ago)
Author:
cneumuel
Message:

renamed all database entities from "Client" to "Slave" (#1157)
made slave-heartbeats synchronous, also they send HBs when timetable disallows them to calculate. they will appear on the server as Idle bis IsAllowedToCalculate will be false (#1159)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/JobManager.cs

    r4264 r4267  
    119119
    120120    /// <summary>
    121     /// Returns JobDto object with Client-Object attached
     121    /// Returns JobDto object with Slave-Object attached
    122122    /// </summary>
    123123    public ResponseObject<JobDto> GetJobByIdWithDetails(Guid jobId) {
     
    127127        job.StatusMessage = ResponseStatus.Ok;
    128128
    129         job.Obj.Client = DaoLocator.ClientDao.GetClientForJob(jobId);
     129        job.Obj.Slave = DaoLocator.SlaveDao.GetSlaveForJob(jobId);
    130130      } else {
    131131        job.StatusMessage = ResponseStatus.GetJobByIdWithDetails_JobDoesNotExist;
     
    135135
    136136    public ResponseObject<JobDto> AddJobWithGroupStrings(SerializedJob job, IEnumerable<string> resources) {
    137       IClientGroupDao cgd = DaoLocator.ClientGroupDao;
     137      ISlaveGroupDao cgd = DaoLocator.SlaveGroupDao;
    138138      foreach (string res in resources) {
    139         foreach (ClientGroupDto cg in cgd.FindByName(res)) {
     139        foreach (SlaveGroupDto cg in cgd.FindByName(res)) {
    140140          job.JobInfo.AssignedResourceIds.Add(cg.Id);
    141141        }
Note: See TracChangeset for help on using the changeset viewer.