source: trunk/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs @ 7857

Last change on this file since 7857 was 7857, checked in by jkarder, 7 years ago

#1854:

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