Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/19/08 17:03:25 (15 years ago)
Author:
msteinbi
Message:

First version of a dummy implementation of the ClientCommunicator (#371)

File:
1 edited

Legend:

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

    r780 r783  
    77namespace HeuristicLab.Hive.Contracts {
    88
    9   /// <summary>
    10   /// If a client sends a heartbeat the server can request sereral actions
    11   /// actions:
    12   ///  - jobReady: an new Job is ready to be calculated
    13   ///  - jobSnapshot: send a snapshot of the current status of the calculated job
    14   ///  - abortJobwithReturn: abort the job and return all existing results
    15   ///  - abortJobwithoutReturn: abort the job and don't send back anything
    16   ///  - nothingToDo: there is nothing to do at the moment
    17   /// </summary>
    18   public enum Action { jobReady, jobSnapshot, abortJobwithReturn, abortJobwithoutReturn, nothingToDo }
    199
    2010  /// <summary>
     
    2414  [DataContract]
    2515  public class ResponseHB : Response {
    26     /// <summary>
    27     /// The server can send more than one actionRequest to the client
    28     /// So they are stored in one Map
    29     /// key [long]: JobId
    30     /// value [Action]: action
    31     /// </summary>
    3216    [DataMember]
    33     public Dictionary<long, Action> ActionRequest { get; set; }
     17    public List<MessageContainer> ActionRequest { get; set; }
    3418  }
    3519}
Note: See TracChangeset for help on using the changeset viewer.