Free cookie consent management tool by TermsFeed Policy Generator

Changeset 838


Ignore:
Timestamp:
11/27/08 15:28:29 (16 years ago)
Author:
msteinbi
Message:

Changed response class for SendJobResult (#371)

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IClientCommunicator.cs

    r791 r838  
    4040    ResponseJob PullJob(Guid clientId);
    4141    [OperationContract]
    42     Response SendJobResult(JobResult Result, bool finished);
     42    ResponseResultReceived SendJobResult(JobResult Result, bool finished);
    4343    [OperationContract]
    4444    Response Logout(Guid clientId);
  • trunk/sources/HeuristicLab.Hive.Contracts/ResponseResultReceived.cs

    r837 r838  
    2828namespace HeuristicLab.Hive.Contracts {
    2929  [DataContract]
    30   class ResponseResultReceived : Response {
     30  public class ResponseResultReceived : Response {
    3131    [DataMember]
    3232    public long JobId { get; set; }
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs

    r823 r838  
    6666    }
    6767
    68     public Response SendJobResult(JobResult Result, bool finished) {
    69       Response response = new Response();
     68    public ResponseResultReceived SendJobResult(JobResult Result, bool finished) {
     69      ResponseResultReceived response = new ResponseResultReceived();
    7070      response.Success = true;
    7171      response.StatusMessage = "Thanks for calculating";
     72      response.JobId = Result.JobId;
    7273
    7374      return response;
Note: See TracChangeset for help on using the changeset viewer.