Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/17/08 14:46:06 (15 years ago)
Author:
svonolfe
Message:

Implemented JobResultsAdapter (#372)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs

    r1004 r1005  
    7777          Job job2Calculate = allOfflineJobs.First.Value;
    7878          job2Calculate.State = State.calculating;
    79           response.JobId = job2Calculate.Id;
     79          response.Job = job2Calculate;
    8080          jobAdapter.Update(job2Calculate);         
    8181          response.SerializedJob = PersistenceManager.SaveToGZip(new TestJob());
     
    9797        return response;
    9898      }
    99       Job job = jobAdapter.GetById(result.JobId);
     99      Job job = jobAdapter.GetById(result.Job.Id);
    100100      if (job == null) {
    101101        response.Success = false;
     
    120120      response.Success = true;
    121121      response.StatusMessage = ApplicationConstants.RESPONSE_COMMUNICATOR_JOBRESULT_RECEIVED;
    122       response.JobId = result.JobId;
     122      response.Job = result.Job;
    123123
    124124      return response;
Note: See TracChangeset for help on using the changeset viewer.