Changeset 783 for trunk/sources/HeuristicLab.Hive.Contracts/ResponseHB.cs
- Timestamp:
- 11/19/08 17:03:25 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Contracts/ResponseHB.cs
r780 r783 7 7 namespace HeuristicLab.Hive.Contracts { 8 8 9 /// <summary>10 /// If a client sends a heartbeat the server can request sereral actions11 /// actions:12 /// - jobReady: an new Job is ready to be calculated13 /// - jobSnapshot: send a snapshot of the current status of the calculated job14 /// - abortJobwithReturn: abort the job and return all existing results15 /// - abortJobwithoutReturn: abort the job and don't send back anything16 /// - nothingToDo: there is nothing to do at the moment17 /// </summary>18 public enum Action { jobReady, jobSnapshot, abortJobwithReturn, abortJobwithoutReturn, nothingToDo }19 9 20 10 /// <summary> … … 24 14 [DataContract] 25 15 public class ResponseHB : Response { 26 /// <summary>27 /// The server can send more than one actionRequest to the client28 /// So they are stored in one Map29 /// key [long]: JobId30 /// value [Action]: action31 /// </summary>32 16 [DataMember] 33 public Dictionary<long, Action> ActionRequest { get; set; }17 public List<MessageContainer> ActionRequest { get; set; } 34 18 } 35 19 }
Note: See TracChangeset
for help on using the changeset viewer.