Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveHiveEngine/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs @ 12448

Last change on this file since 12448 was 6976, checked in by ascheibe, 13 years ago

#1672 integrate the Hive client projects into trunk (Hive Job Manager and Administrator)

File size: 76.9 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3//     This code was generated by a tool.
4//     Runtime Version:4.0.30319.237
5//
6//     Changes to this file may cause incorrect behavior and will be lost if
7//     the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace HeuristicLab.Clients.Hive {
12
13
14  [System.Diagnostics.DebuggerStepThroughAttribute()]
15  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
16  [System.Runtime.Serialization.DataContractAttribute(Name = "Heartbeat", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
17  [System.SerializableAttribute()]
18  public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
19
20    [System.NonSerializedAttribute()]
21    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
22
23    [System.Runtime.Serialization.OptionalFieldAttribute()]
24    private bool AssignJobField;
25
26    [System.Runtime.Serialization.OptionalFieldAttribute()]
27    private float CpuUtilizationField;
28
29    [System.Runtime.Serialization.OptionalFieldAttribute()]
30    private int FreeCoresField;
31
32    [System.Runtime.Serialization.OptionalFieldAttribute()]
33    private int FreeMemoryField;
34
35    [System.Runtime.Serialization.OptionalFieldAttribute()]
36    private int HbIntervalField;
37
38    [System.Runtime.Serialization.OptionalFieldAttribute()]
39    private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField;
40
41    [System.Runtime.Serialization.OptionalFieldAttribute()]
42    private System.Guid SlaveIdField;
43
44    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
45      get {
46        return this.extensionDataField;
47      }
48      set {
49        this.extensionDataField = value;
50      }
51    }
52
53    [System.Runtime.Serialization.DataMemberAttribute()]
54    public bool AssignJob {
55      get {
56        return this.AssignJobField;
57      }
58      set {
59        if ((this.AssignJobField.Equals(value) != true)) {
60          this.AssignJobField = value;
61          this.RaisePropertyChanged("AssignJob");
62        }
63      }
64    }
65
66    [System.Runtime.Serialization.DataMemberAttribute()]
67    public float CpuUtilization {
68      get {
69        return this.CpuUtilizationField;
70      }
71      set {
72        if ((this.CpuUtilizationField.Equals(value) != true)) {
73          this.CpuUtilizationField = value;
74          this.RaisePropertyChanged("CpuUtilization");
75        }
76      }
77    }
78
79    [System.Runtime.Serialization.DataMemberAttribute()]
80    public int FreeCores {
81      get {
82        return this.FreeCoresField;
83      }
84      set {
85        if ((this.FreeCoresField.Equals(value) != true)) {
86          this.FreeCoresField = value;
87          this.RaisePropertyChanged("FreeCores");
88        }
89      }
90    }
91
92    [System.Runtime.Serialization.DataMemberAttribute()]
93    public int FreeMemory {
94      get {
95        return this.FreeMemoryField;
96      }
97      set {
98        if ((this.FreeMemoryField.Equals(value) != true)) {
99          this.FreeMemoryField = value;
100          this.RaisePropertyChanged("FreeMemory");
101        }
102      }
103    }
104
105    [System.Runtime.Serialization.DataMemberAttribute()]
106    public int HbInterval {
107      get {
108        return this.HbIntervalField;
109      }
110      set {
111        if ((this.HbIntervalField.Equals(value) != true)) {
112          this.HbIntervalField = value;
113          this.RaisePropertyChanged("HbInterval");
114        }
115      }
116    }
117
118    [System.Runtime.Serialization.DataMemberAttribute()]
119    public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress {
120      get {
121        return this.JobProgressField;
122      }
123      set {
124        if ((object.ReferenceEquals(this.JobProgressField, value) != true)) {
125          this.JobProgressField = value;
126          this.RaisePropertyChanged("JobProgress");
127        }
128      }
129    }
130
131    [System.Runtime.Serialization.DataMemberAttribute()]
132    public System.Guid SlaveId {
133      get {
134        return this.SlaveIdField;
135      }
136      set {
137        if ((this.SlaveIdField.Equals(value) != true)) {
138          this.SlaveIdField = value;
139          this.RaisePropertyChanged("SlaveId");
140        }
141      }
142    }
143
144    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
145
146    protected void RaisePropertyChanged(string propertyName) {
147      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
148      if ((propertyChanged != null)) {
149        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
150      }
151    }
152  }
153
154  [System.Diagnostics.DebuggerStepThroughAttribute()]
155  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
156  [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
157  [System.SerializableAttribute()]
158  public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
159
160    [System.NonSerializedAttribute()]
161    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
162
163    [System.Runtime.Serialization.OptionalFieldAttribute()]
164    private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField;
165
166    [System.Runtime.Serialization.OptionalFieldAttribute()]
167    private System.Guid TaskIdField;
168
169    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
170      get {
171        return this.extensionDataField;
172      }
173      set {
174        this.extensionDataField = value;
175      }
176    }
177
178    [System.Runtime.Serialization.DataMemberAttribute()]
179    public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message {
180      get {
181        return this.MessageField;
182      }
183      set {
184        if ((this.MessageField.Equals(value) != true)) {
185          this.MessageField = value;
186          this.RaisePropertyChanged("Message");
187        }
188      }
189    }
190
191    [System.Runtime.Serialization.DataMemberAttribute()]
192    public System.Guid TaskId {
193      get {
194        return this.TaskIdField;
195      }
196      set {
197        if ((this.TaskIdField.Equals(value) != true)) {
198          this.TaskIdField = value;
199          this.RaisePropertyChanged("TaskId");
200        }
201      }
202    }
203
204    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
205
206    protected void RaisePropertyChanged(string propertyName) {
207      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
208      if ((propertyChanged != null)) {
209        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
210      }
211    }
212
213    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
214    [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer.MessageType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
215    public enum MessageType : int {
216
217      [System.Runtime.Serialization.EnumMemberAttribute()]
218      CalculateTask = 0,
219
220      [System.Runtime.Serialization.EnumMemberAttribute()]
221      StopTask = 1,
222
223      [System.Runtime.Serialization.EnumMemberAttribute()]
224      StopAll = 2,
225
226      [System.Runtime.Serialization.EnumMemberAttribute()]
227      AbortTask = 3,
228
229      [System.Runtime.Serialization.EnumMemberAttribute()]
230      AbortAll = 4,
231
232      [System.Runtime.Serialization.EnumMemberAttribute()]
233      PauseTask = 5,
234
235      [System.Runtime.Serialization.EnumMemberAttribute()]
236      PauseAll = 6,
237
238      [System.Runtime.Serialization.EnumMemberAttribute()]
239      Restart = 7,
240
241      [System.Runtime.Serialization.EnumMemberAttribute()]
242      Sleep = 8,
243
244      [System.Runtime.Serialization.EnumMemberAttribute()]
245      ShutdownSlave = 9,
246
247      [System.Runtime.Serialization.EnumMemberAttribute()]
248      SayHello = 10,
249
250      [System.Runtime.Serialization.EnumMemberAttribute()]
251      NewHBInterval = 11,
252    }
253  }
254
255  [System.Diagnostics.DebuggerStepThroughAttribute()]
256  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
257  [System.Runtime.Serialization.DataContractAttribute(Name = "HiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
258  [System.SerializableAttribute()]
259  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))]
260  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.LightweightTask))]
261  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))]
262  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Task))]
263  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Downtime))]
264  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.JobPermission))]
265  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.NamedHiveItem))]
266  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))]
267  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]
268  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
269  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))]
270  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))]
271  public partial class HiveItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
272
273    [System.NonSerializedAttribute()]
274    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
275
276    [System.Runtime.Serialization.OptionalFieldAttribute()]
277    private System.Guid IdField;
278
279    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
280      get {
281        return this.extensionDataField;
282      }
283      set {
284        this.extensionDataField = value;
285      }
286    }
287
288    [System.Runtime.Serialization.DataMemberAttribute()]
289    public System.Guid Id {
290      get {
291        return this.IdField;
292      }
293      set {
294        if ((this.IdField.Equals(value) != true)) {
295          this.IdField = value;
296          this.RaisePropertyChanged("Id");
297        }
298      }
299    }
300
301    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
302  }
303
304  [System.Diagnostics.DebuggerStepThroughAttribute()]
305  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
306  [System.Runtime.Serialization.DataContractAttribute(Name = "PluginData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
307  [System.SerializableAttribute()]
308  public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem {
309
310    [System.Runtime.Serialization.OptionalFieldAttribute()]
311    private byte[] DataField;
312
313    [System.Runtime.Serialization.OptionalFieldAttribute()]
314    private string FileNameField;
315
316    [System.Runtime.Serialization.OptionalFieldAttribute()]
317    private System.Guid PluginIdField;
318
319    [System.Runtime.Serialization.DataMemberAttribute()]
320    public byte[] Data {
321      get {
322        return this.DataField;
323      }
324      set {
325        if ((object.ReferenceEquals(this.DataField, value) != true)) {
326          this.DataField = value;
327          this.RaisePropertyChanged("Data");
328        }
329      }
330    }
331
332    [System.Runtime.Serialization.DataMemberAttribute()]
333    public string FileName {
334      get {
335        return this.FileNameField;
336      }
337      set {
338        if ((object.ReferenceEquals(this.FileNameField, value) != true)) {
339          this.FileNameField = value;
340          this.RaisePropertyChanged("FileName");
341        }
342      }
343    }
344
345    [System.Runtime.Serialization.DataMemberAttribute()]
346    public System.Guid PluginId {
347      get {
348        return this.PluginIdField;
349      }
350      set {
351        if ((this.PluginIdField.Equals(value) != true)) {
352          this.PluginIdField = value;
353          this.RaisePropertyChanged("PluginId");
354        }
355      }
356    }
357  }
358
359  [System.Diagnostics.DebuggerStepThroughAttribute()]
360  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
361  [System.Runtime.Serialization.DataContractAttribute(Name = "LightweightTask", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
362  [System.SerializableAttribute()]
363  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Task))]
364  public partial class LightweightTask : HeuristicLab.Clients.Hive.HiveItem {
365
366    [System.Runtime.Serialization.OptionalFieldAttribute()]
367    private System.Nullable<HeuristicLab.Clients.Hive.Command> CommandField;
368
369    [System.Runtime.Serialization.OptionalFieldAttribute()]
370    private System.TimeSpan ExecutionTimeField;
371
372    [System.Runtime.Serialization.OptionalFieldAttribute()]
373    private System.DateTime LastTaskDataUpdateField;
374
375    [System.Runtime.Serialization.OptionalFieldAttribute()]
376    private System.Nullable<System.Guid> ParentTaskIdField;
377
378    [System.Runtime.Serialization.OptionalFieldAttribute()]
379    private HeuristicLab.Clients.Hive.TaskState StateField;
380
381    [System.Runtime.Serialization.OptionalFieldAttribute()]
382    private System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLogField;
383
384    [System.Runtime.Serialization.DataMemberAttribute()]
385    public System.Nullable<HeuristicLab.Clients.Hive.Command> Command {
386      get {
387        return this.CommandField;
388      }
389      set {
390        if ((this.CommandField.Equals(value) != true)) {
391          this.CommandField = value;
392          this.RaisePropertyChanged("Command");
393        }
394      }
395    }
396
397    [System.Runtime.Serialization.DataMemberAttribute()]
398    public System.TimeSpan ExecutionTime {
399      get {
400        return this.ExecutionTimeField;
401      }
402      set {
403        if ((this.ExecutionTimeField.Equals(value) != true)) {
404          this.ExecutionTimeField = value;
405          this.RaisePropertyChanged("ExecutionTime");
406        }
407      }
408    }
409
410    [System.Runtime.Serialization.DataMemberAttribute()]
411    public System.DateTime LastTaskDataUpdate {
412      get {
413        return this.LastTaskDataUpdateField;
414      }
415      set {
416        if ((this.LastTaskDataUpdateField.Equals(value) != true)) {
417          this.LastTaskDataUpdateField = value;
418          this.RaisePropertyChanged("LastTaskDataUpdate");
419        }
420      }
421    }
422
423    [System.Runtime.Serialization.DataMemberAttribute()]
424    public System.Nullable<System.Guid> ParentTaskId {
425      get {
426        return this.ParentTaskIdField;
427      }
428      set {
429        if ((this.ParentTaskIdField.Equals(value) != true)) {
430          this.ParentTaskIdField = value;
431          this.RaisePropertyChanged("ParentTaskId");
432        }
433      }
434    }
435
436    [System.Runtime.Serialization.DataMemberAttribute()]
437    public HeuristicLab.Clients.Hive.TaskState State {
438      get {
439        return this.StateField;
440      }
441      set {
442        if ((this.StateField.Equals(value) != true)) {
443          this.StateField = value;
444          this.RaisePropertyChanged("State");
445        }
446      }
447    }
448
449    [System.Runtime.Serialization.DataMemberAttribute()]
450    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLog {
451      get {
452        return this.StateLogField;
453      }
454      set {
455        if ((object.ReferenceEquals(this.StateLogField, value) != true)) {
456          this.StateLogField = value;
457          this.RaisePropertyChanged("StateLog");
458        }
459      }
460    }
461  }
462
463  [System.Diagnostics.DebuggerStepThroughAttribute()]
464  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
465  [System.Runtime.Serialization.DataContractAttribute(Name = "StateLog", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
466  [System.SerializableAttribute()]
467  public partial class StateLog : HeuristicLab.Clients.Hive.HiveItem {
468
469    [System.Runtime.Serialization.OptionalFieldAttribute()]
470    private System.DateTime DateTimeField;
471
472    [System.Runtime.Serialization.OptionalFieldAttribute()]
473    private string ExceptionField;
474
475    [System.Runtime.Serialization.OptionalFieldAttribute()]
476    private System.Nullable<System.Guid> SlaveIdField;
477
478    [System.Runtime.Serialization.OptionalFieldAttribute()]
479    private HeuristicLab.Clients.Hive.TaskState StateField;
480
481    [System.Runtime.Serialization.OptionalFieldAttribute()]
482    private System.Guid TaskIdField;
483
484    [System.Runtime.Serialization.OptionalFieldAttribute()]
485    private System.Nullable<System.Guid> UserIdField;
486
487    [System.Runtime.Serialization.DataMemberAttribute()]
488    public System.DateTime DateTime {
489      get {
490        return this.DateTimeField;
491      }
492      set {
493        if ((this.DateTimeField.Equals(value) != true)) {
494          this.DateTimeField = value;
495          this.RaisePropertyChanged("DateTime");
496        }
497      }
498    }
499
500    [System.Runtime.Serialization.DataMemberAttribute()]
501    public string Exception {
502      get {
503        return this.ExceptionField;
504      }
505      set {
506        if ((object.ReferenceEquals(this.ExceptionField, value) != true)) {
507          this.ExceptionField = value;
508          this.RaisePropertyChanged("Exception");
509        }
510      }
511    }
512
513    [System.Runtime.Serialization.DataMemberAttribute()]
514    public System.Nullable<System.Guid> SlaveId {
515      get {
516        return this.SlaveIdField;
517      }
518      set {
519        if ((this.SlaveIdField.Equals(value) != true)) {
520          this.SlaveIdField = value;
521          this.RaisePropertyChanged("SlaveId");
522        }
523      }
524    }
525
526    [System.Runtime.Serialization.DataMemberAttribute()]
527    public HeuristicLab.Clients.Hive.TaskState State {
528      get {
529        return this.StateField;
530      }
531      set {
532        if ((this.StateField.Equals(value) != true)) {
533          this.StateField = value;
534          this.RaisePropertyChanged("State");
535        }
536      }
537    }
538
539    [System.Runtime.Serialization.DataMemberAttribute()]
540    public System.Guid TaskId {
541      get {
542        return this.TaskIdField;
543      }
544      set {
545        if ((this.TaskIdField.Equals(value) != true)) {
546          this.TaskIdField = value;
547          this.RaisePropertyChanged("TaskId");
548        }
549      }
550    }
551
552    [System.Runtime.Serialization.DataMemberAttribute()]
553    public System.Nullable<System.Guid> UserId {
554      get {
555        return this.UserIdField;
556      }
557      set {
558        if ((this.UserIdField.Equals(value) != true)) {
559          this.UserIdField = value;
560          this.RaisePropertyChanged("UserId");
561        }
562      }
563    }
564  }
565
566  [System.Diagnostics.DebuggerStepThroughAttribute()]
567  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
568  [System.Runtime.Serialization.DataContractAttribute(Name = "Task", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
569  [System.SerializableAttribute()]
570  public partial class Task : HeuristicLab.Clients.Hive.LightweightTask {
571
572    [System.Runtime.Serialization.OptionalFieldAttribute()]
573    private int CoresNeededField;
574
575    [System.Runtime.Serialization.OptionalFieldAttribute()]
576    private bool FinishWhenChildJobsFinishedField;
577
578    [System.Runtime.Serialization.OptionalFieldAttribute()]
579    private bool IsParentTaskField;
580
581    [System.Runtime.Serialization.OptionalFieldAttribute()]
582    private bool IsPrivilegedField;
583
584    [System.Runtime.Serialization.OptionalFieldAttribute()]
585    private System.Guid JobIdField;
586
587    [System.Runtime.Serialization.OptionalFieldAttribute()]
588    private System.Nullable<System.DateTime> LastHeartbeatField;
589
590    [System.Runtime.Serialization.OptionalFieldAttribute()]
591    private int MemoryNeededField;
592
593    [System.Runtime.Serialization.OptionalFieldAttribute()]
594    private System.Collections.Generic.List<System.Guid> PluginsNeededIdsField;
595
596    [System.Runtime.Serialization.OptionalFieldAttribute()]
597    private int PriorityField;
598
599    [System.Runtime.Serialization.DataMemberAttribute()]
600    public int CoresNeeded {
601      get {
602        return this.CoresNeededField;
603      }
604      set {
605        if ((this.CoresNeededField.Equals(value) != true)) {
606          this.CoresNeededField = value;
607          this.RaisePropertyChanged("CoresNeeded");
608        }
609      }
610    }
611
612    [System.Runtime.Serialization.DataMemberAttribute()]
613    public bool FinishWhenChildJobsFinished {
614      get {
615        return this.FinishWhenChildJobsFinishedField;
616      }
617      set {
618        if ((this.FinishWhenChildJobsFinishedField.Equals(value) != true)) {
619          this.FinishWhenChildJobsFinishedField = value;
620          this.RaisePropertyChanged("FinishWhenChildJobsFinished");
621        }
622      }
623    }
624
625    [System.Runtime.Serialization.DataMemberAttribute()]
626    public bool IsParentTask {
627      get {
628        return this.IsParentTaskField;
629      }
630      set {
631        if ((this.IsParentTaskField.Equals(value) != true)) {
632          this.IsParentTaskField = value;
633          this.RaisePropertyChanged("IsParentTask");
634        }
635      }
636    }
637
638    [System.Runtime.Serialization.DataMemberAttribute()]
639    public bool IsPrivileged {
640      get {
641        return this.IsPrivilegedField;
642      }
643      set {
644        if ((this.IsPrivilegedField.Equals(value) != true)) {
645          this.IsPrivilegedField = value;
646          this.RaisePropertyChanged("IsPrivileged");
647        }
648      }
649    }
650
651    [System.Runtime.Serialization.DataMemberAttribute()]
652    public System.Guid JobId {
653      get {
654        return this.JobIdField;
655      }
656      set {
657        if ((this.JobIdField.Equals(value) != true)) {
658          this.JobIdField = value;
659          this.RaisePropertyChanged("JobId");
660        }
661      }
662    }
663
664    [System.Runtime.Serialization.DataMemberAttribute()]
665    public System.Nullable<System.DateTime> LastHeartbeat {
666      get {
667        return this.LastHeartbeatField;
668      }
669      set {
670        if ((this.LastHeartbeatField.Equals(value) != true)) {
671          this.LastHeartbeatField = value;
672          this.RaisePropertyChanged("LastHeartbeat");
673        }
674      }
675    }
676
677    [System.Runtime.Serialization.DataMemberAttribute()]
678    public int MemoryNeeded {
679      get {
680        return this.MemoryNeededField;
681      }
682      set {
683        if ((this.MemoryNeededField.Equals(value) != true)) {
684          this.MemoryNeededField = value;
685          this.RaisePropertyChanged("MemoryNeeded");
686        }
687      }
688    }
689
690    [System.Runtime.Serialization.DataMemberAttribute()]
691    public System.Collections.Generic.List<System.Guid> PluginsNeededIds {
692      get {
693        return this.PluginsNeededIdsField;
694      }
695      set {
696        if ((object.ReferenceEquals(this.PluginsNeededIdsField, value) != true)) {
697          this.PluginsNeededIdsField = value;
698          this.RaisePropertyChanged("PluginsNeededIds");
699        }
700      }
701    }
702
703    [System.Runtime.Serialization.DataMemberAttribute()]
704    public int Priority {
705      get {
706        return this.PriorityField;
707      }
708      set {
709        if ((this.PriorityField.Equals(value) != true)) {
710          this.PriorityField = value;
711          this.RaisePropertyChanged("Priority");
712        }
713      }
714    }
715  }
716
717  [System.Diagnostics.DebuggerStepThroughAttribute()]
718  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
719  [System.Runtime.Serialization.DataContractAttribute(Name = "Downtime", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
720  [System.SerializableAttribute()]
721  public partial class Downtime : HeuristicLab.Clients.Hive.HiveItem {
722
723    [System.Runtime.Serialization.OptionalFieldAttribute()]
724    private bool AllDayEventField;
725
726    [System.Runtime.Serialization.OptionalFieldAttribute()]
727    private System.DateTime EndDateField;
728
729    [System.Runtime.Serialization.OptionalFieldAttribute()]
730    private bool RecurringField;
731
732    [System.Runtime.Serialization.OptionalFieldAttribute()]
733    private System.Guid RecurringIdField;
734
735    [System.Runtime.Serialization.OptionalFieldAttribute()]
736    private System.Guid ResourceIdField;
737
738    [System.Runtime.Serialization.OptionalFieldAttribute()]
739    private System.DateTime StartDateField;
740
741    [System.Runtime.Serialization.DataMemberAttribute()]
742    public bool AllDayEvent {
743      get {
744        return this.AllDayEventField;
745      }
746      set {
747        if ((this.AllDayEventField.Equals(value) != true)) {
748          this.AllDayEventField = value;
749          this.RaisePropertyChanged("AllDayEvent");
750        }
751      }
752    }
753
754    [System.Runtime.Serialization.DataMemberAttribute()]
755    public System.DateTime EndDate {
756      get {
757        return this.EndDateField;
758      }
759      set {
760        if ((this.EndDateField.Equals(value) != true)) {
761          this.EndDateField = value;
762          this.RaisePropertyChanged("EndDate");
763        }
764      }
765    }
766
767    [System.Runtime.Serialization.DataMemberAttribute()]
768    public bool Recurring {
769      get {
770        return this.RecurringField;
771      }
772      set {
773        if ((this.RecurringField.Equals(value) != true)) {
774          this.RecurringField = value;
775          this.RaisePropertyChanged("Recurring");
776        }
777      }
778    }
779
780    [System.Runtime.Serialization.DataMemberAttribute()]
781    public System.Guid RecurringId {
782      get {
783        return this.RecurringIdField;
784      }
785      set {
786        if ((this.RecurringIdField.Equals(value) != true)) {
787          this.RecurringIdField = value;
788          this.RaisePropertyChanged("RecurringId");
789        }
790      }
791    }
792
793    [System.Runtime.Serialization.DataMemberAttribute()]
794    public System.Guid ResourceId {
795      get {
796        return this.ResourceIdField;
797      }
798      set {
799        if ((this.ResourceIdField.Equals(value) != true)) {
800          this.ResourceIdField = value;
801          this.RaisePropertyChanged("ResourceId");
802        }
803      }
804    }
805
806    [System.Runtime.Serialization.DataMemberAttribute()]
807    public System.DateTime StartDate {
808      get {
809        return this.StartDateField;
810      }
811      set {
812        if ((this.StartDateField.Equals(value) != true)) {
813          this.StartDateField = value;
814          this.RaisePropertyChanged("StartDate");
815        }
816      }
817    }
818  }
819
820  [System.Diagnostics.DebuggerStepThroughAttribute()]
821  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
822  [System.Runtime.Serialization.DataContractAttribute(Name = "JobPermission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
823  [System.SerializableAttribute()]
824  public partial class JobPermission : HeuristicLab.Clients.Hive.HiveItem {
825
826    [System.Runtime.Serialization.OptionalFieldAttribute()]
827    private System.Guid GrantedByUserIdField;
828
829    [System.Runtime.Serialization.OptionalFieldAttribute()]
830    private System.Guid GrantedUserIdField;
831
832    [System.Runtime.Serialization.OptionalFieldAttribute()]
833    private System.Guid JobIdField;
834
835    [System.Runtime.Serialization.OptionalFieldAttribute()]
836    private HeuristicLab.Clients.Hive.Permission PermissionField;
837
838    [System.Runtime.Serialization.DataMemberAttribute()]
839    public System.Guid GrantedByUserId {
840      get {
841        return this.GrantedByUserIdField;
842      }
843      set {
844        if ((this.GrantedByUserIdField.Equals(value) != true)) {
845          this.GrantedByUserIdField = value;
846          this.RaisePropertyChanged("GrantedByUserId");
847        }
848      }
849    }
850
851    [System.Runtime.Serialization.DataMemberAttribute()]
852    public System.Guid GrantedUserId {
853      get {
854        return this.GrantedUserIdField;
855      }
856      set {
857        if ((this.GrantedUserIdField.Equals(value) != true)) {
858          this.GrantedUserIdField = value;
859          this.RaisePropertyChanged("GrantedUserId");
860        }
861      }
862    }
863
864    [System.Runtime.Serialization.DataMemberAttribute()]
865    public System.Guid JobId {
866      get {
867        return this.JobIdField;
868      }
869      set {
870        if ((this.JobIdField.Equals(value) != true)) {
871          this.JobIdField = value;
872          this.RaisePropertyChanged("JobId");
873        }
874      }
875    }
876
877    [System.Runtime.Serialization.DataMemberAttribute()]
878    public HeuristicLab.Clients.Hive.Permission Permission {
879      get {
880        return this.PermissionField;
881      }
882      set {
883        if ((this.PermissionField.Equals(value) != true)) {
884          this.PermissionField = value;
885          this.RaisePropertyChanged("Permission");
886        }
887      }
888    }
889  }
890
891  [System.Diagnostics.DebuggerStepThroughAttribute()]
892  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
893  [System.Runtime.Serialization.DataContractAttribute(Name = "NamedHiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
894  [System.SerializableAttribute()]
895  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))]
896  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]
897  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
898  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))]
899  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))]
900  public partial class NamedHiveItem : HeuristicLab.Clients.Hive.HiveItem {
901
902    [System.Runtime.Serialization.OptionalFieldAttribute()]
903    private string DescriptionField;
904
905    [System.Runtime.Serialization.OptionalFieldAttribute()]
906    private string NameField;
907
908    [System.Runtime.Serialization.DataMemberAttribute()]
909    public string Description {
910      get {
911        return this.DescriptionField;
912      }
913      set {
914        if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
915          this.DescriptionField = value;
916          this.RaisePropertyChanged("Description");
917        }
918      }
919    }
920
921    [System.Runtime.Serialization.DataMemberAttribute()]
922    public string Name {
923      get {
924        return this.NameField;
925      }
926      set {
927        if ((object.ReferenceEquals(this.NameField, value) != true)) {
928          this.NameField = value;
929          this.RaisePropertyChanged("Name");
930        }
931      }
932    }
933  }
934
935  [System.Diagnostics.DebuggerStepThroughAttribute()]
936  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
937  [System.Runtime.Serialization.DataContractAttribute(Name = "Resource", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
938  [System.SerializableAttribute()]
939  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]
940  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
941  public partial class Resource : HeuristicLab.Clients.Hive.NamedHiveItem {
942
943    [System.Runtime.Serialization.OptionalFieldAttribute()]
944    private int HbIntervalField;
945
946    [System.Runtime.Serialization.OptionalFieldAttribute()]
947    private System.Nullable<System.Guid> ParentResourceIdField;
948
949    [System.Runtime.Serialization.DataMemberAttribute()]
950    public int HbInterval {
951      get {
952        return this.HbIntervalField;
953      }
954      set {
955        if ((this.HbIntervalField.Equals(value) != true)) {
956          this.HbIntervalField = value;
957          this.RaisePropertyChanged("HbInterval");
958        }
959      }
960    }
961
962    [System.Runtime.Serialization.DataMemberAttribute()]
963    public System.Nullable<System.Guid> ParentResourceId {
964      get {
965        return this.ParentResourceIdField;
966      }
967      set {
968        if ((this.ParentResourceIdField.Equals(value) != true)) {
969          this.ParentResourceIdField = value;
970          this.RaisePropertyChanged("ParentResourceId");
971        }
972      }
973    }
974  }
975
976  [System.Diagnostics.DebuggerStepThroughAttribute()]
977  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
978  [System.Runtime.Serialization.DataContractAttribute(Name = "Slave", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
979  [System.SerializableAttribute()]
980  public partial class Slave : HeuristicLab.Clients.Hive.Resource {
981
982    [System.Runtime.Serialization.OptionalFieldAttribute()]
983    private System.Nullable<int> CoresField;
984
985    [System.Runtime.Serialization.OptionalFieldAttribute()]
986    private HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitectureField;
987
988    [System.Runtime.Serialization.OptionalFieldAttribute()]
989    private System.Nullable<int> CpuSpeedField;
990
991    [System.Runtime.Serialization.OptionalFieldAttribute()]
992    private double CpuUtilizationField;
993
994    [System.Runtime.Serialization.OptionalFieldAttribute()]
995    private System.Nullable<int> FreeCoresField;
996
997    [System.Runtime.Serialization.OptionalFieldAttribute()]
998    private System.Nullable<int> FreeMemoryField;
999
1000    [System.Runtime.Serialization.OptionalFieldAttribute()]
1001    private bool IsAllowedToCalculateField;
1002
1003    [System.Runtime.Serialization.OptionalFieldAttribute()]
1004    private System.Nullable<System.DateTime> LastHeartbeatField;
1005
1006    [System.Runtime.Serialization.OptionalFieldAttribute()]
1007    private System.Nullable<int> MemoryField;
1008
1009    [System.Runtime.Serialization.OptionalFieldAttribute()]
1010    private string OperatingSystemField;
1011
1012    [System.Runtime.Serialization.OptionalFieldAttribute()]
1013    private HeuristicLab.Clients.Hive.SlaveState SlaveStateField;
1014
1015    [System.Runtime.Serialization.DataMemberAttribute()]
1016    public System.Nullable<int> Cores {
1017      get {
1018        return this.CoresField;
1019      }
1020      set {
1021        if ((this.CoresField.Equals(value) != true)) {
1022          this.CoresField = value;
1023          this.RaisePropertyChanged("Cores");
1024        }
1025      }
1026    }
1027
1028    [System.Runtime.Serialization.DataMemberAttribute()]
1029    public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture {
1030      get {
1031        return this.CpuArchitectureField;
1032      }
1033      set {
1034        if ((this.CpuArchitectureField.Equals(value) != true)) {
1035          this.CpuArchitectureField = value;
1036          this.RaisePropertyChanged("CpuArchitecture");
1037        }
1038      }
1039    }
1040
1041    [System.Runtime.Serialization.DataMemberAttribute()]
1042    public System.Nullable<int> CpuSpeed {
1043      get {
1044        return this.CpuSpeedField;
1045      }
1046      set {
1047        if ((this.CpuSpeedField.Equals(value) != true)) {
1048          this.CpuSpeedField = value;
1049          this.RaisePropertyChanged("CpuSpeed");
1050        }
1051      }
1052    }
1053
1054    [System.Runtime.Serialization.DataMemberAttribute()]
1055    public double CpuUtilization {
1056      get {
1057        return this.CpuUtilizationField;
1058      }
1059      set {
1060        if ((this.CpuUtilizationField.Equals(value) != true)) {
1061          this.CpuUtilizationField = value;
1062          this.RaisePropertyChanged("CpuUtilization");
1063        }
1064      }
1065    }
1066
1067    [System.Runtime.Serialization.DataMemberAttribute()]
1068    public System.Nullable<int> FreeCores {
1069      get {
1070        return this.FreeCoresField;
1071      }
1072      set {
1073        if ((this.FreeCoresField.Equals(value) != true)) {
1074          this.FreeCoresField = value;
1075          this.RaisePropertyChanged("FreeCores");
1076        }
1077      }
1078    }
1079
1080    [System.Runtime.Serialization.DataMemberAttribute()]
1081    public System.Nullable<int> FreeMemory {
1082      get {
1083        return this.FreeMemoryField;
1084      }
1085      set {
1086        if ((this.FreeMemoryField.Equals(value) != true)) {
1087          this.FreeMemoryField = value;
1088          this.RaisePropertyChanged("FreeMemory");
1089        }
1090      }
1091    }
1092
1093    [System.Runtime.Serialization.DataMemberAttribute()]
1094    public bool IsAllowedToCalculate {
1095      get {
1096        return this.IsAllowedToCalculateField;
1097      }
1098      set {
1099        if ((this.IsAllowedToCalculateField.Equals(value) != true)) {
1100          this.IsAllowedToCalculateField = value;
1101          this.RaisePropertyChanged("IsAllowedToCalculate");
1102        }
1103      }
1104    }
1105
1106    [System.Runtime.Serialization.DataMemberAttribute()]
1107    public System.Nullable<System.DateTime> LastHeartbeat {
1108      get {
1109        return this.LastHeartbeatField;
1110      }
1111      set {
1112        if ((this.LastHeartbeatField.Equals(value) != true)) {
1113          this.LastHeartbeatField = value;
1114          this.RaisePropertyChanged("LastHeartbeat");
1115        }
1116      }
1117    }
1118
1119    [System.Runtime.Serialization.DataMemberAttribute()]
1120    public System.Nullable<int> Memory {
1121      get {
1122        return this.MemoryField;
1123      }
1124      set {
1125        if ((this.MemoryField.Equals(value) != true)) {
1126          this.MemoryField = value;
1127          this.RaisePropertyChanged("Memory");
1128        }
1129      }
1130    }
1131
1132    [System.Runtime.Serialization.DataMemberAttribute()]
1133    public string OperatingSystem {
1134      get {
1135        return this.OperatingSystemField;
1136      }
1137      set {
1138        if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) {
1139          this.OperatingSystemField = value;
1140          this.RaisePropertyChanged("OperatingSystem");
1141        }
1142      }
1143    }
1144
1145    [System.Runtime.Serialization.DataMemberAttribute()]
1146    public HeuristicLab.Clients.Hive.SlaveState SlaveState {
1147      get {
1148        return this.SlaveStateField;
1149      }
1150      set {
1151        if ((this.SlaveStateField.Equals(value) != true)) {
1152          this.SlaveStateField = value;
1153          this.RaisePropertyChanged("SlaveState");
1154        }
1155      }
1156    }
1157  }
1158
1159  [System.Diagnostics.DebuggerStepThroughAttribute()]
1160  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1161  [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveGroup", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1162  [System.SerializableAttribute()]
1163  public partial class SlaveGroup : HeuristicLab.Clients.Hive.Resource {
1164  }
1165
1166  [System.Diagnostics.DebuggerStepThroughAttribute()]
1167  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1168  [System.Runtime.Serialization.DataContractAttribute(Name = "Job", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1169  [System.SerializableAttribute()]
1170  public partial class Job : HeuristicLab.Clients.Hive.NamedHiveItem {
1171
1172    [System.Runtime.Serialization.OptionalFieldAttribute()]
1173    private int CalculatingCountField;
1174
1175    [System.Runtime.Serialization.OptionalFieldAttribute()]
1176    private System.DateTime DateCreatedField;
1177
1178    [System.Runtime.Serialization.OptionalFieldAttribute()]
1179    private int FinishedCountField;
1180
1181    [System.Runtime.Serialization.OptionalFieldAttribute()]
1182    private int JobCountField;
1183
1184    [System.Runtime.Serialization.OptionalFieldAttribute()]
1185    private System.Guid OwnerUserIdField;
1186
1187    [System.Runtime.Serialization.OptionalFieldAttribute()]
1188    private string OwnerUsernameField;
1189
1190    [System.Runtime.Serialization.OptionalFieldAttribute()]
1191    private HeuristicLab.Clients.Hive.Permission PermissionField;
1192
1193    [System.Runtime.Serialization.OptionalFieldAttribute()]
1194    private string ResourceNamesField;
1195
1196    [System.Runtime.Serialization.DataMemberAttribute()]
1197    public int CalculatingCount {
1198      get {
1199        return this.CalculatingCountField;
1200      }
1201      set {
1202        if ((this.CalculatingCountField.Equals(value) != true)) {
1203          this.CalculatingCountField = value;
1204          this.RaisePropertyChanged("CalculatingCount");
1205        }
1206      }
1207    }
1208
1209    [System.Runtime.Serialization.DataMemberAttribute()]
1210    public System.DateTime DateCreated {
1211      get {
1212        return this.DateCreatedField;
1213      }
1214      set {
1215        if ((this.DateCreatedField.Equals(value) != true)) {
1216          this.DateCreatedField = value;
1217          this.RaisePropertyChanged("DateCreated");
1218        }
1219      }
1220    }
1221
1222    [System.Runtime.Serialization.DataMemberAttribute()]
1223    public int FinishedCount {
1224      get {
1225        return this.FinishedCountField;
1226      }
1227      set {
1228        if ((this.FinishedCountField.Equals(value) != true)) {
1229          this.FinishedCountField = value;
1230          this.RaisePropertyChanged("FinishedCount");
1231        }
1232      }
1233    }
1234
1235    [System.Runtime.Serialization.DataMemberAttribute()]
1236    public int JobCount {
1237      get {
1238        return this.JobCountField;
1239      }
1240      set {
1241        if ((this.JobCountField.Equals(value) != true)) {
1242          this.JobCountField = value;
1243          this.RaisePropertyChanged("JobCount");
1244        }
1245      }
1246    }
1247
1248    [System.Runtime.Serialization.DataMemberAttribute()]
1249    public System.Guid OwnerUserId {
1250      get {
1251        return this.OwnerUserIdField;
1252      }
1253      set {
1254        if ((this.OwnerUserIdField.Equals(value) != true)) {
1255          this.OwnerUserIdField = value;
1256          this.RaisePropertyChanged("OwnerUserId");
1257        }
1258      }
1259    }
1260
1261    [System.Runtime.Serialization.DataMemberAttribute()]
1262    public string OwnerUsername {
1263      get {
1264        return this.OwnerUsernameField;
1265      }
1266      set {
1267        if ((object.ReferenceEquals(this.OwnerUsernameField, value) != true)) {
1268          this.OwnerUsernameField = value;
1269          this.RaisePropertyChanged("OwnerUsername");
1270        }
1271      }
1272    }
1273
1274    [System.Runtime.Serialization.DataMemberAttribute()]
1275    public HeuristicLab.Clients.Hive.Permission Permission {
1276      get {
1277        return this.PermissionField;
1278      }
1279      set {
1280        if ((this.PermissionField.Equals(value) != true)) {
1281          this.PermissionField = value;
1282          this.RaisePropertyChanged("Permission");
1283        }
1284      }
1285    }
1286
1287    [System.Runtime.Serialization.DataMemberAttribute()]
1288    public string ResourceNames {
1289      get {
1290        return this.ResourceNamesField;
1291      }
1292      set {
1293        if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) {
1294          this.ResourceNamesField = value;
1295          this.RaisePropertyChanged("ResourceNames");
1296        }
1297      }
1298    }
1299  }
1300
1301  [System.Diagnostics.DebuggerStepThroughAttribute()]
1302  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1303  [System.Runtime.Serialization.DataContractAttribute(Name = "Plugin", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1304  [System.SerializableAttribute()]
1305  public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem {
1306
1307    [System.Runtime.Serialization.OptionalFieldAttribute()]
1308    private System.DateTime DateCreatedField;
1309
1310    [System.Runtime.Serialization.OptionalFieldAttribute()]
1311    private byte[] HashField;
1312
1313    [System.Runtime.Serialization.OptionalFieldAttribute()]
1314    private System.Guid UserIdField;
1315
1316    [System.Runtime.Serialization.OptionalFieldAttribute()]
1317    private System.Version VersionField;
1318
1319    [System.Runtime.Serialization.DataMemberAttribute()]
1320    public System.DateTime DateCreated {
1321      get {
1322        return this.DateCreatedField;
1323      }
1324      set {
1325        if ((this.DateCreatedField.Equals(value) != true)) {
1326          this.DateCreatedField = value;
1327          this.RaisePropertyChanged("DateCreated");
1328        }
1329      }
1330    }
1331
1332    [System.Runtime.Serialization.DataMemberAttribute()]
1333    public byte[] Hash {
1334      get {
1335        return this.HashField;
1336      }
1337      set {
1338        if ((object.ReferenceEquals(this.HashField, value) != true)) {
1339          this.HashField = value;
1340          this.RaisePropertyChanged("Hash");
1341        }
1342      }
1343    }
1344
1345    [System.Runtime.Serialization.DataMemberAttribute()]
1346    public System.Guid UserId {
1347      get {
1348        return this.UserIdField;
1349      }
1350      set {
1351        if ((this.UserIdField.Equals(value) != true)) {
1352          this.UserIdField = value;
1353          this.RaisePropertyChanged("UserId");
1354        }
1355      }
1356    }
1357
1358    [System.Runtime.Serialization.DataMemberAttribute()]
1359    public System.Version Version {
1360      get {
1361        return this.VersionField;
1362      }
1363      set {
1364        if ((object.ReferenceEquals(this.VersionField, value) != true)) {
1365          this.VersionField = value;
1366          this.RaisePropertyChanged("Version");
1367        }
1368      }
1369    }
1370  }
1371
1372  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1373  [System.Runtime.Serialization.DataContractAttribute(Name = "Command", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1374  public enum Command : int {
1375
1376    [System.Runtime.Serialization.EnumMemberAttribute()]
1377    Stop = 0,
1378
1379    [System.Runtime.Serialization.EnumMemberAttribute()]
1380    Abort = 1,
1381
1382    [System.Runtime.Serialization.EnumMemberAttribute()]
1383    Pause = 2,
1384  }
1385
1386  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1387  [System.Runtime.Serialization.DataContractAttribute(Name = "TaskState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1388  public enum TaskState : int {
1389
1390    [System.Runtime.Serialization.EnumMemberAttribute()]
1391    Offline = 0,
1392
1393    [System.Runtime.Serialization.EnumMemberAttribute()]
1394    Waiting = 1,
1395
1396    [System.Runtime.Serialization.EnumMemberAttribute()]
1397    Transferring = 2,
1398
1399    [System.Runtime.Serialization.EnumMemberAttribute()]
1400    Calculating = 3,
1401
1402    [System.Runtime.Serialization.EnumMemberAttribute()]
1403    Paused = 4,
1404
1405    [System.Runtime.Serialization.EnumMemberAttribute()]
1406    Finished = 5,
1407
1408    [System.Runtime.Serialization.EnumMemberAttribute()]
1409    Aborted = 6,
1410
1411    [System.Runtime.Serialization.EnumMemberAttribute()]
1412    Failed = 7,
1413  }
1414
1415  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1416  [System.Runtime.Serialization.DataContractAttribute(Name = "Permission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1417  public enum Permission : int {
1418
1419    [System.Runtime.Serialization.EnumMemberAttribute()]
1420    NotAllowed = 0,
1421
1422    [System.Runtime.Serialization.EnumMemberAttribute()]
1423    Read = 1,
1424
1425    [System.Runtime.Serialization.EnumMemberAttribute()]
1426    Full = 2,
1427  }
1428
1429  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1430  [System.Runtime.Serialization.DataContractAttribute(Name = "CpuArchitecture", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1431  public enum CpuArchitecture : int {
1432
1433    [System.Runtime.Serialization.EnumMemberAttribute()]
1434    x86 = 0,
1435
1436    [System.Runtime.Serialization.EnumMemberAttribute()]
1437    x64 = 1,
1438  }
1439
1440  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1441  [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1442  public enum SlaveState : int {
1443
1444    [System.Runtime.Serialization.EnumMemberAttribute()]
1445    Idle = 0,
1446
1447    [System.Runtime.Serialization.EnumMemberAttribute()]
1448    Calculating = 1,
1449
1450    [System.Runtime.Serialization.EnumMemberAttribute()]
1451    Offline = 2,
1452  }
1453
1454  [System.Diagnostics.DebuggerStepThroughAttribute()]
1455  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1456  [System.Runtime.Serialization.DataContractAttribute(Name = "TaskData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1457  [System.SerializableAttribute()]
1458  public partial class TaskData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1459
1460    [System.NonSerializedAttribute()]
1461    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1462
1463    [System.Runtime.Serialization.OptionalFieldAttribute()]
1464    private byte[] DataField;
1465
1466    [System.Runtime.Serialization.OptionalFieldAttribute()]
1467    private System.DateTime LastUpdateField;
1468
1469    [System.Runtime.Serialization.OptionalFieldAttribute()]
1470    private System.Guid TaskIdField;
1471
1472    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1473      get {
1474        return this.extensionDataField;
1475      }
1476      set {
1477        this.extensionDataField = value;
1478      }
1479    }
1480
1481    [System.Runtime.Serialization.DataMemberAttribute()]
1482    public byte[] Data {
1483      get {
1484        return this.DataField;
1485      }
1486      set {
1487        if ((object.ReferenceEquals(this.DataField, value) != true)) {
1488          this.DataField = value;
1489          this.RaisePropertyChanged("Data");
1490        }
1491      }
1492    }
1493
1494    [System.Runtime.Serialization.DataMemberAttribute()]
1495    public System.DateTime LastUpdate {
1496      get {
1497        return this.LastUpdateField;
1498      }
1499      set {
1500        if ((this.LastUpdateField.Equals(value) != true)) {
1501          this.LastUpdateField = value;
1502          this.RaisePropertyChanged("LastUpdate");
1503        }
1504      }
1505    }
1506
1507    [System.Runtime.Serialization.DataMemberAttribute()]
1508    public System.Guid TaskId {
1509      get {
1510        return this.TaskIdField;
1511      }
1512      set {
1513        if ((this.TaskIdField.Equals(value) != true)) {
1514          this.TaskIdField = value;
1515          this.RaisePropertyChanged("TaskId");
1516        }
1517      }
1518    }
1519
1520    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1521
1522    protected void RaisePropertyChanged(string propertyName) {
1523      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1524      if ((propertyChanged != null)) {
1525        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1526      }
1527    }
1528  }
1529
1530  [System.Diagnostics.DebuggerStepThroughAttribute()]
1531  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1532  [System.Runtime.Serialization.DataContractAttribute(Name = "PluginAlreadyExistsFault", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1533  [System.SerializableAttribute()]
1534  public partial class PluginAlreadyExistsFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1535
1536    [System.NonSerializedAttribute()]
1537    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1538
1539    [System.Runtime.Serialization.OptionalFieldAttribute()]
1540    private System.Guid IdField;
1541
1542    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1543      get {
1544        return this.extensionDataField;
1545      }
1546      set {
1547        this.extensionDataField = value;
1548      }
1549    }
1550
1551    [System.Runtime.Serialization.DataMemberAttribute()]
1552    public System.Guid Id {
1553      get {
1554        return this.IdField;
1555      }
1556      set {
1557        if ((this.IdField.Equals(value) != true)) {
1558          this.IdField = value;
1559          this.RaisePropertyChanged("Id");
1560        }
1561      }
1562    }
1563
1564    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1565
1566    protected void RaisePropertyChanged(string propertyName) {
1567      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1568      if ((propertyChanged != null)) {
1569        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1570      }
1571    }
1572  }
1573
1574  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1575  [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.Hive.IHiveService")]
1576  public interface IHiveService {
1577
1578    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUserIdByUsername", ReplyAction = "http://tempuri.org/IHiveService/GetUserIdByUsernameResponse")]
1579    System.Guid GetUserIdByUsername(string username);
1580
1581    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Heartbeat", ReplyAction = "http://tempuri.org/IHiveService/HeartbeatResponse")]
1582    System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat([System.ServiceModel.MessageParameterAttribute(Name = "heartbeat")] HeuristicLab.Clients.Hive.Heartbeat heartbeat1);
1583
1584    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPlugin", ReplyAction = "http://tempuri.org/IHiveService/GetPluginResponse")]
1585    HeuristicLab.Clients.Hive.Plugin GetPlugin(System.Guid pluginId);
1586
1587    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPluginByHash", ReplyAction = "http://tempuri.org/IHiveService/GetPluginByHashResponse")]
1588    HeuristicLab.Clients.Hive.Plugin GetPluginByHash(byte[] hash);
1589
1590    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddPlugin", ReplyAction = "http://tempuri.org/IHiveService/AddPluginResponse")]
1591    [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.Hive.PluginAlreadyExistsFault), Action = "http://tempuri.org/IHiveService/AddPluginPluginAlreadyExistsFaultFault", Name = "PluginAlreadyExistsFault", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1592    System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData);
1593
1594    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPlugins", ReplyAction = "http://tempuri.org/IHiveService/GetPluginsResponse")]
1595    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins();
1596
1597    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPluginDatas", ReplyAction = "http://tempuri.org/IHiveService/GetPluginDatasResponse")]
1598    System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds);
1599
1600    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeletePlugin", ReplyAction = "http://tempuri.org/IHiveService/DeletePluginResponse")]
1601    void DeletePlugin(System.Guid pluginId);
1602
1603    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlave", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveResponse")]
1604    System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave);
1605
1606    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveGroupResponse")]
1607    System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup);
1608
1609    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlave", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveResponse")]
1610    HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId);
1611
1612    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupResponse")]
1613    HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId);
1614
1615    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")]
1616    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves();
1617
1618    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")]
1619    System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups();
1620
1621    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")]
1622    void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave);
1623
1624    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")]
1625    void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup);
1626
1627    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlave", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveResponse")]
1628    void DeleteSlave(System.Guid slaveId);
1629
1630    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")]
1631    void DeleteSlaveGroup(System.Guid slaveGroupId);
1632
1633    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction = "http://tempuri.org/IHiveService/AddResourceToGroupResponse")]
1634    void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId);
1635
1636    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction = "http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")]
1637    void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId);
1638
1639    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetResourceIdResponse")]
1640    System.Guid GetResourceId(string resourceName);
1641
1642    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTasksByResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetTasksByResourceIdResponse")]
1643    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasksByResourceId(System.Guid resourceId);
1644
1645    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/TriggerEventManager", ReplyAction = "http://tempuri.org/IHiveService/TriggerEventManagerResponse")]
1646    void TriggerEventManager(bool force);
1647
1648    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetNewHeartbeatInterval", ReplyAction = "http://tempuri.org/IHiveService/GetNewHeartbeatIntervalResponse")]
1649    int GetNewHeartbeatInterval(System.Guid slaveId);
1650
1651    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddDowntime", ReplyAction = "http://tempuri.org/IHiveService/AddDowntimeResponse")]
1652    System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime);
1653
1654    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteDowntime", ReplyAction = "http://tempuri.org/IHiveService/DeleteDowntimeResponse")]
1655    void DeleteDowntime(System.Guid downtimeId);
1656
1657    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateDowntime", ReplyAction = "http://tempuri.org/IHiveService/UpdateDowntimeResponse")]
1658    void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime);
1659
1660    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetDowntimesForResource", ReplyAction = "http://tempuri.org/IHiveService/GetDowntimesForResourceResponse")]
1661    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId);
1662
1663    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUsernameByUserId", ReplyAction = "http://tempuri.org/IHiveService/GetUsernameByUserIdResponse")]
1664    string GetUsernameByUserId(System.Guid userId);
1665
1666    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddTask", ReplyAction = "http://tempuri.org/IHiveService/AddTaskResponse")]
1667    System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds);
1668
1669    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddChildTask", ReplyAction = "http://tempuri.org/IHiveService/AddChildTaskResponse")]
1670    System.Guid AddChildTask(System.Guid parentTaskId, HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData);
1671
1672    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTask", ReplyAction = "http://tempuri.org/IHiveService/GetTaskResponse")]
1673    HeuristicLab.Clients.Hive.Task GetTask(System.Guid taskId);
1674
1675    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTasks", ReplyAction = "http://tempuri.org/IHiveService/GetTasksResponse")]
1676    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasks();
1677
1678    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightTasksResponse")]
1679    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightTasks(System.Collections.Generic.List<System.Guid> taskIds);
1680
1681    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightChildTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightChildTasksResponse")]
1682    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightChildTasks(System.Nullable<System.Guid> parentTaskId, bool recursive, bool includeParent);
1683
1684    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightJobTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightJobTasksResponse")]
1685    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightJobTasks(System.Guid jobId);
1686
1687    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTaskData", ReplyAction = "http://tempuri.org/IHiveService/GetTaskDataResponse")]
1688    HeuristicLab.Clients.Hive.TaskData GetTaskData(System.Guid taskId);
1689
1690    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTask", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskResponse")]
1691    void UpdateTask(HeuristicLab.Clients.Hive.Task taskDto);
1692
1693    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTaskData", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskDataResponse")]
1694    void UpdateTaskData(HeuristicLab.Clients.Hive.Task taskDto, HeuristicLab.Clients.Hive.TaskData taskDataDto);
1695
1696    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteTask", ReplyAction = "http://tempuri.org/IHiveService/DeleteTaskResponse")]
1697    void DeleteTask(System.Guid taskId);
1698
1699    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteChildTasks", ReplyAction = "http://tempuri.org/IHiveService/DeleteChildTasksResponse")]
1700    void DeleteChildTasks(System.Guid parentTaskId);
1701
1702    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTaskState", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskStateResponse")]
1703    HeuristicLab.Clients.Hive.Task UpdateTaskState(System.Guid taskId, HeuristicLab.Clients.Hive.TaskState taskState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception);
1704
1705    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/StopTask", ReplyAction = "http://tempuri.org/IHiveService/StopTaskResponse")]
1706    void StopTask(System.Guid taskId);
1707
1708    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/PauseTask", ReplyAction = "http://tempuri.org/IHiveService/PauseTaskResponse")]
1709    void PauseTask(System.Guid taskId);
1710
1711    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RestartTask", ReplyAction = "http://tempuri.org/IHiveService/RestartTaskResponse")]
1712    void RestartTask(System.Guid taskId);
1713
1714    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJob", ReplyAction = "http://tempuri.org/IHiveService/GetJobResponse")]
1715    HeuristicLab.Clients.Hive.Job GetJob(System.Guid id);
1716
1717    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobs", ReplyAction = "http://tempuri.org/IHiveService/GetJobsResponse")]
1718    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs();
1719
1720    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetAllJobs", ReplyAction = "http://tempuri.org/IHiveService/GetAllJobsResponse")]
1721    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetAllJobs();
1722
1723    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddJob", ReplyAction = "http://tempuri.org/IHiveService/AddJobResponse")]
1724    System.Guid AddJob(HeuristicLab.Clients.Hive.Job jobDto);
1725
1726    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJob", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobResponse")]
1727    void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto);
1728
1729    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteJob", ReplyAction = "http://tempuri.org/IHiveService/DeleteJobResponse")]
1730    void DeleteJob(System.Guid JobId);
1731
1732    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantPermission", ReplyAction = "http://tempuri.org/IHiveService/GrantPermissionResponse")]
1733    void GrantPermission(System.Guid jobId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission);
1734
1735    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokePermission", ReplyAction = "http://tempuri.org/IHiveService/RevokePermissionResponse")]
1736    void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId);
1737
1738    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobPermissions", ReplyAction = "http://tempuri.org/IHiveService/GetJobPermissionsResponse")]
1739    System.Collections.Generic.List<HeuristicLab.Clients.Hive.JobPermission> GetJobPermissions(System.Guid jobId);
1740
1741    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/IsAllowedPrivileged", ReplyAction = "http://tempuri.org/IHiveService/IsAllowedPrivilegedResponse")]
1742    bool IsAllowedPrivileged();
1743
1744    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Hello", ReplyAction = "http://tempuri.org/IHiveService/HelloResponse")]
1745    void Hello(HeuristicLab.Clients.Hive.Slave slave);
1746
1747    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GoodBye", ReplyAction = "http://tempuri.org/IHiveService/GoodByeResponse")]
1748    void GoodBye(System.Guid slaveId);
1749  }
1750
1751  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1752  public interface IHiveServiceChannel : HeuristicLab.Clients.Hive.IHiveService, System.ServiceModel.IClientChannel {
1753  }
1754
1755  [System.Diagnostics.DebuggerStepThroughAttribute()]
1756  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1757  public partial class HiveServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Hive.IHiveService>, HeuristicLab.Clients.Hive.IHiveService {
1758
1759    public HiveServiceClient() {
1760    }
1761
1762    public HiveServiceClient(string endpointConfigurationName) :
1763      base(endpointConfigurationName) {
1764    }
1765
1766    public HiveServiceClient(string endpointConfigurationName, string remoteAddress) :
1767      base(endpointConfigurationName, remoteAddress) {
1768    }
1769
1770    public HiveServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
1771      base(endpointConfigurationName, remoteAddress) {
1772    }
1773
1774    public HiveServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
1775      base(binding, remoteAddress) {
1776    }
1777
1778    public System.Guid GetUserIdByUsername(string username) {
1779      return base.Channel.GetUserIdByUsername(username);
1780    }
1781
1782    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat(HeuristicLab.Clients.Hive.Heartbeat heartbeat1) {
1783      return base.Channel.Heartbeat(heartbeat1);
1784    }
1785
1786    public HeuristicLab.Clients.Hive.Plugin GetPlugin(System.Guid pluginId) {
1787      return base.Channel.GetPlugin(pluginId);
1788    }
1789
1790    public HeuristicLab.Clients.Hive.Plugin GetPluginByHash(byte[] hash) {
1791      return base.Channel.GetPluginByHash(hash);
1792    }
1793
1794    public System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData) {
1795      return base.Channel.AddPlugin(plugin, pluginData);
1796    }
1797
1798    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins() {
1799      return base.Channel.GetPlugins();
1800    }
1801
1802    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds) {
1803      return base.Channel.GetPluginDatas(pluginIds);
1804    }
1805
1806    public void DeletePlugin(System.Guid pluginId) {
1807      base.Channel.DeletePlugin(pluginId);
1808    }
1809
1810    public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) {
1811      return base.Channel.AddSlave(slave);
1812    }
1813
1814    public System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) {
1815      return base.Channel.AddSlaveGroup(slaveGroup);
1816    }
1817
1818    public HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId) {
1819      return base.Channel.GetSlave(slaveId);
1820    }
1821
1822    public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) {
1823      return base.Channel.GetSlaveGroup(slaveGroupId);
1824    }
1825
1826    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() {
1827      return base.Channel.GetSlaves();
1828    }
1829
1830    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() {
1831      return base.Channel.GetSlaveGroups();
1832    }
1833
1834    public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) {
1835      base.Channel.UpdateSlave(slave);
1836    }
1837
1838    public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) {
1839      base.Channel.UpdateSlaveGroup(slaveGroup);
1840    }
1841
1842    public void DeleteSlave(System.Guid slaveId) {
1843      base.Channel.DeleteSlave(slaveId);
1844    }
1845
1846    public void DeleteSlaveGroup(System.Guid slaveGroupId) {
1847      base.Channel.DeleteSlaveGroup(slaveGroupId);
1848    }
1849
1850    public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) {
1851      base.Channel.AddResourceToGroup(slaveGroupId, resourceId);
1852    }
1853
1854    public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) {
1855      base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId);
1856    }
1857
1858    public System.Guid GetResourceId(string resourceName) {
1859      return base.Channel.GetResourceId(resourceName);
1860    }
1861
1862    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasksByResourceId(System.Guid resourceId) {
1863      return base.Channel.GetTasksByResourceId(resourceId);
1864    }
1865
1866    public void TriggerEventManager(bool force) {
1867      base.Channel.TriggerEventManager(force);
1868    }
1869
1870    public int GetNewHeartbeatInterval(System.Guid slaveId) {
1871      return base.Channel.GetNewHeartbeatInterval(slaveId);
1872    }
1873
1874    public System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {
1875      return base.Channel.AddDowntime(downtime);
1876    }
1877
1878    public void DeleteDowntime(System.Guid downtimeId) {
1879      base.Channel.DeleteDowntime(downtimeId);
1880    }
1881
1882    public void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {
1883      base.Channel.UpdateDowntime(downtime);
1884    }
1885
1886    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId) {
1887      return base.Channel.GetDowntimesForResource(resourceId);
1888    }
1889
1890    public string GetUsernameByUserId(System.Guid userId) {
1891      return base.Channel.GetUsernameByUserId(userId);
1892    }
1893
1894    public System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds) {
1895      return base.Channel.AddTask(task, taskData, resourceIds);
1896    }
1897
1898    public System.Guid AddChildTask(System.Guid parentTaskId, HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData) {
1899      return base.Channel.AddChildTask(parentTaskId, task, taskData);
1900    }
1901
1902    public HeuristicLab.Clients.Hive.Task GetTask(System.Guid taskId) {
1903      return base.Channel.GetTask(taskId);
1904    }
1905
1906    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasks() {
1907      return base.Channel.GetTasks();
1908    }
1909
1910    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightTasks(System.Collections.Generic.List<System.Guid> taskIds) {
1911      return base.Channel.GetLightweightTasks(taskIds);
1912    }
1913
1914    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightChildTasks(System.Nullable<System.Guid> parentTaskId, bool recursive, bool includeParent) {
1915      return base.Channel.GetLightweightChildTasks(parentTaskId, recursive, includeParent);
1916    }
1917
1918    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightJobTasks(System.Guid jobId) {
1919      return base.Channel.GetLightweightJobTasks(jobId);
1920    }
1921
1922    public HeuristicLab.Clients.Hive.TaskData GetTaskData(System.Guid taskId) {
1923      return base.Channel.GetTaskData(taskId);
1924    }
1925
1926    public void UpdateTask(HeuristicLab.Clients.Hive.Task taskDto) {
1927      base.Channel.UpdateTask(taskDto);
1928    }
1929
1930    public void UpdateTaskData(HeuristicLab.Clients.Hive.Task taskDto, HeuristicLab.Clients.Hive.TaskData taskDataDto) {
1931      base.Channel.UpdateTaskData(taskDto, taskDataDto);
1932    }
1933
1934    public void DeleteTask(System.Guid taskId) {
1935      base.Channel.DeleteTask(taskId);
1936    }
1937
1938    public void DeleteChildTasks(System.Guid parentTaskId) {
1939      base.Channel.DeleteChildTasks(parentTaskId);
1940    }
1941
1942    public HeuristicLab.Clients.Hive.Task UpdateTaskState(System.Guid taskId, HeuristicLab.Clients.Hive.TaskState taskState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception) {
1943      return base.Channel.UpdateTaskState(taskId, taskState, slaveId, userId, exception);
1944    }
1945
1946    public void StopTask(System.Guid taskId) {
1947      base.Channel.StopTask(taskId);
1948    }
1949
1950    public void PauseTask(System.Guid taskId) {
1951      base.Channel.PauseTask(taskId);
1952    }
1953
1954    public void RestartTask(System.Guid taskId) {
1955      base.Channel.RestartTask(taskId);
1956    }
1957
1958    public HeuristicLab.Clients.Hive.Job GetJob(System.Guid id) {
1959      return base.Channel.GetJob(id);
1960    }
1961
1962    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() {
1963      return base.Channel.GetJobs();
1964    }
1965
1966    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetAllJobs() {
1967      return base.Channel.GetAllJobs();
1968    }
1969
1970    public System.Guid AddJob(HeuristicLab.Clients.Hive.Job jobDto) {
1971      return base.Channel.AddJob(jobDto);
1972    }
1973
1974    public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) {
1975      base.Channel.UpdateJob(jobDto);
1976    }
1977
1978    public void DeleteJob(System.Guid JobId) {
1979      base.Channel.DeleteJob(JobId);
1980    }
1981
1982    public void GrantPermission(System.Guid jobId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission) {
1983      base.Channel.GrantPermission(jobId, grantedUserId, permission);
1984    }
1985
1986    public void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId) {
1987      base.Channel.RevokePermission(hiveExperimentId, grantedUserId);
1988    }
1989
1990    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.JobPermission> GetJobPermissions(System.Guid jobId) {
1991      return base.Channel.GetJobPermissions(jobId);
1992    }
1993
1994    public bool IsAllowedPrivileged() {
1995      return base.Channel.IsAllowedPrivileged();
1996    }
1997
1998    public void Hello(HeuristicLab.Clients.Hive.Slave slave) {
1999      base.Channel.Hello(slave);
2000    }
2001
2002    public void GoodBye(System.Guid slaveId) {
2003      base.Channel.GoodBye(slaveId);
2004    }
2005  }
2006}
Note: See TracBrowser for help on using the repository browser.