Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs @ 6717

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

#1233

  • moved DTO's to Services.Hive project
  • removed Services.Hive.Common project
  • some cleanups
  • added DTO's for enums
File size: 76.7 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3//     This code was generated by a tool.
4//     Runtime Version:4.0.30319.235
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.LightweightJob))]
19  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))]
20  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))]
21  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Downtime))]
22  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperimentPermission))]
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.HiveExperiment))]
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 = "LightweightJob", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
66  [System.SerializableAttribute()]
67  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))]
68  public partial class LightweightJob : 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 LastJobDataUpdateField;
78
79    [System.Runtime.Serialization.OptionalFieldAttribute()]
80    private System.Nullable<System.Guid> ParentJobIdField;
81
82    [System.Runtime.Serialization.OptionalFieldAttribute()]
83    private HeuristicLab.Clients.Hive.JobState 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 LastJobDataUpdate {
116      get {
117        return this.LastJobDataUpdateField;
118      }
119      set {
120        if ((this.LastJobDataUpdateField.Equals(value) != true)) {
121          this.LastJobDataUpdateField = value;
122          this.RaisePropertyChanged("LastJobDataUpdate");
123        }
124      }
125    }
126
127    [System.Runtime.Serialization.DataMemberAttribute()]
128    public System.Nullable<System.Guid> ParentJobId {
129      get {
130        return this.ParentJobIdField;
131      }
132      set {
133        if ((this.ParentJobIdField.Equals(value) != true)) {
134          this.ParentJobIdField = value;
135          this.RaisePropertyChanged("ParentJobId");
136        }
137      }
138    }
139
140    [System.Runtime.Serialization.DataMemberAttribute()]
141    public HeuristicLab.Clients.Hive.JobState 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.Guid JobIdField;
181
182    [System.Runtime.Serialization.OptionalFieldAttribute()]
183    private System.Nullable<System.Guid> SlaveIdField;
184
185    [System.Runtime.Serialization.OptionalFieldAttribute()]
186    private HeuristicLab.Clients.Hive.JobState StateField;
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.Guid JobId {
219      get {
220        return this.JobIdField;
221      }
222      set {
223        if ((this.JobIdField.Equals(value) != true)) {
224          this.JobIdField = value;
225          this.RaisePropertyChanged("JobId");
226        }
227      }
228    }
229
230    [System.Runtime.Serialization.DataMemberAttribute()]
231    public System.Nullable<System.Guid> SlaveId {
232      get {
233        return this.SlaveIdField;
234      }
235      set {
236        if ((this.SlaveIdField.Equals(value) != true)) {
237          this.SlaveIdField = value;
238          this.RaisePropertyChanged("SlaveId");
239        }
240      }
241    }
242
243    [System.Runtime.Serialization.DataMemberAttribute()]
244    public HeuristicLab.Clients.Hive.JobState State {
245      get {
246        return this.StateField;
247      }
248      set {
249        if ((this.StateField.Equals(value) != true)) {
250          this.StateField = value;
251          this.RaisePropertyChanged("State");
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 = "Job", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
273  [System.SerializableAttribute()]
274  public partial class Job : HeuristicLab.Clients.Hive.LightweightJob {
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 System.Guid HiveExperimentIdField;
284
285    [System.Runtime.Serialization.OptionalFieldAttribute()]
286    private bool IsParentJobField;
287
288    [System.Runtime.Serialization.OptionalFieldAttribute()]
289    private bool IsPrivilegedField;
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 System.Guid HiveExperimentId {
331      get {
332        return this.HiveExperimentIdField;
333      }
334      set {
335        if ((this.HiveExperimentIdField.Equals(value) != true)) {
336          this.HiveExperimentIdField = value;
337          this.RaisePropertyChanged("HiveExperimentId");
338        }
339      }
340    }
341
342    [System.Runtime.Serialization.DataMemberAttribute()]
343    public bool IsParentJob {
344      get {
345        return this.IsParentJobField;
346      }
347      set {
348        if ((this.IsParentJobField.Equals(value) != true)) {
349          this.IsParentJobField = value;
350          this.RaisePropertyChanged("IsParentJob");
351        }
352      }
353    }
354
355    [System.Runtime.Serialization.DataMemberAttribute()]
356    public bool IsPrivileged {
357      get {
358        return this.IsPrivilegedField;
359      }
360      set {
361        if ((this.IsPrivilegedField.Equals(value) != true)) {
362          this.IsPrivilegedField = value;
363          this.RaisePropertyChanged("IsPrivileged");
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 = "HiveExperimentPermission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
527  [System.SerializableAttribute()]
528  public partial class HiveExperimentPermission : 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 HiveExperimentIdField;
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 HiveExperimentId {
570      get {
571        return this.HiveExperimentIdField;
572      }
573      set {
574        if ((this.HiveExperimentIdField.Equals(value) != true)) {
575          this.HiveExperimentIdField = value;
576          this.RaisePropertyChanged("HiveExperimentId");
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.HiveExperiment))]
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 = "HiveExperiment", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
697  [System.SerializableAttribute()]
698  public partial class HiveExperiment : 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.Nullable<System.DateTime> LastAccessedField;
714
715    [System.Runtime.Serialization.OptionalFieldAttribute()]
716    private System.Guid OwnerUserIdField;
717
718    [System.Runtime.Serialization.OptionalFieldAttribute()]
719    private string OwnerUsernameField;
720
721    [System.Runtime.Serialization.OptionalFieldAttribute()]
722    private HeuristicLab.Clients.Hive.Permission PermissionField;
723
724    [System.Runtime.Serialization.OptionalFieldAttribute()]
725    private string ResourceNamesField;
726
727    [System.Runtime.Serialization.DataMemberAttribute()]
728    public int CalculatingCount {
729      get {
730        return this.CalculatingCountField;
731      }
732      set {
733        if ((this.CalculatingCountField.Equals(value) != true)) {
734          this.CalculatingCountField = value;
735          this.RaisePropertyChanged("CalculatingCount");
736        }
737      }
738    }
739
740    [System.Runtime.Serialization.DataMemberAttribute()]
741    public System.DateTime DateCreated {
742      get {
743        return this.DateCreatedField;
744      }
745      set {
746        if ((this.DateCreatedField.Equals(value) != true)) {
747          this.DateCreatedField = value;
748          this.RaisePropertyChanged("DateCreated");
749        }
750      }
751    }
752
753    [System.Runtime.Serialization.DataMemberAttribute()]
754    public int FinishedCount {
755      get {
756        return this.FinishedCountField;
757      }
758      set {
759        if ((this.FinishedCountField.Equals(value) != true)) {
760          this.FinishedCountField = value;
761          this.RaisePropertyChanged("FinishedCount");
762        }
763      }
764    }
765
766    [System.Runtime.Serialization.DataMemberAttribute()]
767    public int JobCount {
768      get {
769        return this.JobCountField;
770      }
771      set {
772        if ((this.JobCountField.Equals(value) != true)) {
773          this.JobCountField = value;
774          this.RaisePropertyChanged("JobCount");
775        }
776      }
777    }
778
779    [System.Runtime.Serialization.DataMemberAttribute()]
780    public System.Nullable<System.DateTime> LastAccessed {
781      get {
782        return this.LastAccessedField;
783      }
784      set {
785        if ((this.LastAccessedField.Equals(value) != true)) {
786          this.LastAccessedField = value;
787          this.RaisePropertyChanged("LastAccessed");
788        }
789      }
790    }
791
792    [System.Runtime.Serialization.DataMemberAttribute()]
793    public System.Guid OwnerUserId {
794      get {
795        return this.OwnerUserIdField;
796      }
797      set {
798        if ((this.OwnerUserIdField.Equals(value) != true)) {
799          this.OwnerUserIdField = value;
800          this.RaisePropertyChanged("OwnerUserId");
801        }
802      }
803    }
804
805    [System.Runtime.Serialization.DataMemberAttribute()]
806    public string OwnerUsername {
807      get {
808        return this.OwnerUsernameField;
809      }
810      set {
811        if ((object.ReferenceEquals(this.OwnerUsernameField, value) != true)) {
812          this.OwnerUsernameField = value;
813          this.RaisePropertyChanged("OwnerUsername");
814        }
815      }
816    }
817
818    [System.Runtime.Serialization.DataMemberAttribute()]
819    public HeuristicLab.Clients.Hive.Permission Permission {
820      get {
821        return this.PermissionField;
822      }
823      set {
824        if ((this.PermissionField.Equals(value) != true)) {
825          this.PermissionField = value;
826          this.RaisePropertyChanged("Permission");
827        }
828      }
829    }
830
831    [System.Runtime.Serialization.DataMemberAttribute()]
832    public string ResourceNames {
833      get {
834        return this.ResourceNamesField;
835      }
836      set {
837        if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) {
838          this.ResourceNamesField = value;
839          this.RaisePropertyChanged("ResourceNames");
840        }
841      }
842    }
843  }
844
845  [System.Diagnostics.DebuggerStepThroughAttribute()]
846  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
847  [System.Runtime.Serialization.DataContractAttribute(Name = "Plugin", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
848  [System.SerializableAttribute()]
849  public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem {
850
851    [System.Runtime.Serialization.OptionalFieldAttribute()]
852    private System.DateTime DateCreatedField;
853
854    [System.Runtime.Serialization.OptionalFieldAttribute()]
855    private byte[] HashField;
856
857    [System.Runtime.Serialization.OptionalFieldAttribute()]
858    private System.Guid UserIdField;
859
860    [System.Runtime.Serialization.OptionalFieldAttribute()]
861    private System.Version VersionField;
862
863    [System.Runtime.Serialization.DataMemberAttribute()]
864    public System.DateTime DateCreated {
865      get {
866        return this.DateCreatedField;
867      }
868      set {
869        if ((this.DateCreatedField.Equals(value) != true)) {
870          this.DateCreatedField = value;
871          this.RaisePropertyChanged("DateCreated");
872        }
873      }
874    }
875
876    [System.Runtime.Serialization.DataMemberAttribute()]
877    public byte[] Hash {
878      get {
879        return this.HashField;
880      }
881      set {
882        if ((object.ReferenceEquals(this.HashField, value) != true)) {
883          this.HashField = value;
884          this.RaisePropertyChanged("Hash");
885        }
886      }
887    }
888
889    [System.Runtime.Serialization.DataMemberAttribute()]
890    public System.Guid UserId {
891      get {
892        return this.UserIdField;
893      }
894      set {
895        if ((this.UserIdField.Equals(value) != true)) {
896          this.UserIdField = value;
897          this.RaisePropertyChanged("UserId");
898        }
899      }
900    }
901
902    [System.Runtime.Serialization.DataMemberAttribute()]
903    public System.Version Version {
904      get {
905        return this.VersionField;
906      }
907      set {
908        if ((object.ReferenceEquals(this.VersionField, value) != true)) {
909          this.VersionField = value;
910          this.RaisePropertyChanged("Version");
911        }
912      }
913    }
914  }
915
916  [System.Diagnostics.DebuggerStepThroughAttribute()]
917  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
918  [System.Runtime.Serialization.DataContractAttribute(Name = "Resource", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
919  [System.SerializableAttribute()]
920  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]
921  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
922  public partial class Resource : HeuristicLab.Clients.Hive.NamedHiveItem {
923
924    [System.Runtime.Serialization.OptionalFieldAttribute()]
925    private System.Nullable<System.Guid> ParentResourceIdField;
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 System.Nullable<System.DateTime> LastHeartbeatField;
970
971    [System.Runtime.Serialization.OptionalFieldAttribute()]
972    private System.Nullable<int> MemoryField;
973
974    [System.Runtime.Serialization.OptionalFieldAttribute()]
975    private string OperatingSystemField;
976
977    [System.Runtime.Serialization.OptionalFieldAttribute()]
978    private HeuristicLab.Clients.Hive.SlaveState SlaveStateField;
979
980    [System.Runtime.Serialization.DataMemberAttribute()]
981    public System.Nullable<int> Cores {
982      get {
983        return this.CoresField;
984      }
985      set {
986        if ((this.CoresField.Equals(value) != true)) {
987          this.CoresField = value;
988          this.RaisePropertyChanged("Cores");
989        }
990      }
991    }
992
993    [System.Runtime.Serialization.DataMemberAttribute()]
994    public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture {
995      get {
996        return this.CpuArchitectureField;
997      }
998      set {
999        if ((this.CpuArchitectureField.Equals(value) != true)) {
1000          this.CpuArchitectureField = value;
1001          this.RaisePropertyChanged("CpuArchitecture");
1002        }
1003      }
1004    }
1005
1006    [System.Runtime.Serialization.DataMemberAttribute()]
1007    public System.Nullable<int> CpuSpeed {
1008      get {
1009        return this.CpuSpeedField;
1010      }
1011      set {
1012        if ((this.CpuSpeedField.Equals(value) != true)) {
1013          this.CpuSpeedField = value;
1014          this.RaisePropertyChanged("CpuSpeed");
1015        }
1016      }
1017    }
1018
1019    [System.Runtime.Serialization.DataMemberAttribute()]
1020    public double CpuUtilization {
1021      get {
1022        return this.CpuUtilizationField;
1023      }
1024      set {
1025        if ((this.CpuUtilizationField.Equals(value) != true)) {
1026          this.CpuUtilizationField = value;
1027          this.RaisePropertyChanged("CpuUtilization");
1028        }
1029      }
1030    }
1031
1032    [System.Runtime.Serialization.DataMemberAttribute()]
1033    public System.Nullable<int> FreeCores {
1034      get {
1035        return this.FreeCoresField;
1036      }
1037      set {
1038        if ((this.FreeCoresField.Equals(value) != true)) {
1039          this.FreeCoresField = value;
1040          this.RaisePropertyChanged("FreeCores");
1041        }
1042      }
1043    }
1044
1045    [System.Runtime.Serialization.DataMemberAttribute()]
1046    public System.Nullable<int> FreeMemory {
1047      get {
1048        return this.FreeMemoryField;
1049      }
1050      set {
1051        if ((this.FreeMemoryField.Equals(value) != true)) {
1052          this.FreeMemoryField = value;
1053          this.RaisePropertyChanged("FreeMemory");
1054        }
1055      }
1056    }
1057
1058    [System.Runtime.Serialization.DataMemberAttribute()]
1059    public bool IsAllowedToCalculate {
1060      get {
1061        return this.IsAllowedToCalculateField;
1062      }
1063      set {
1064        if ((this.IsAllowedToCalculateField.Equals(value) != true)) {
1065          this.IsAllowedToCalculateField = value;
1066          this.RaisePropertyChanged("IsAllowedToCalculate");
1067        }
1068      }
1069    }
1070
1071    [System.Runtime.Serialization.DataMemberAttribute()]
1072    public System.Nullable<System.DateTime> LastHeartbeat {
1073      get {
1074        return this.LastHeartbeatField;
1075      }
1076      set {
1077        if ((this.LastHeartbeatField.Equals(value) != true)) {
1078          this.LastHeartbeatField = value;
1079          this.RaisePropertyChanged("LastHeartbeat");
1080        }
1081      }
1082    }
1083
1084    [System.Runtime.Serialization.DataMemberAttribute()]
1085    public System.Nullable<int> Memory {
1086      get {
1087        return this.MemoryField;
1088      }
1089      set {
1090        if ((this.MemoryField.Equals(value) != true)) {
1091          this.MemoryField = value;
1092          this.RaisePropertyChanged("Memory");
1093        }
1094      }
1095    }
1096
1097    [System.Runtime.Serialization.DataMemberAttribute()]
1098    public string OperatingSystem {
1099      get {
1100        return this.OperatingSystemField;
1101      }
1102      set {
1103        if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) {
1104          this.OperatingSystemField = value;
1105          this.RaisePropertyChanged("OperatingSystem");
1106        }
1107      }
1108    }
1109
1110    [System.Runtime.Serialization.DataMemberAttribute()]
1111    public HeuristicLab.Clients.Hive.SlaveState SlaveState {
1112      get {
1113        return this.SlaveStateField;
1114      }
1115      set {
1116        if ((this.SlaveStateField.Equals(value) != true)) {
1117          this.SlaveStateField = value;
1118          this.RaisePropertyChanged("SlaveState");
1119        }
1120      }
1121    }
1122  }
1123
1124  [System.Diagnostics.DebuggerStepThroughAttribute()]
1125  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1126  [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveGroup", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1127  [System.SerializableAttribute()]
1128  public partial class SlaveGroup : HeuristicLab.Clients.Hive.Resource {
1129  }
1130
1131  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1132  [System.Runtime.Serialization.DataContractAttribute(Name = "Command", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1133  public enum Command : int {
1134
1135    [System.Runtime.Serialization.EnumMemberAttribute()]
1136    Stop = 0,
1137
1138    [System.Runtime.Serialization.EnumMemberAttribute()]
1139    Abort = 1,
1140
1141    [System.Runtime.Serialization.EnumMemberAttribute()]
1142    Pause = 2,
1143  }
1144
1145  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1146  [System.Runtime.Serialization.DataContractAttribute(Name = "JobState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1147  public enum JobState : int {
1148
1149    [System.Runtime.Serialization.EnumMemberAttribute()]
1150    Offline = 0,
1151
1152    [System.Runtime.Serialization.EnumMemberAttribute()]
1153    Waiting = 1,
1154
1155    [System.Runtime.Serialization.EnumMemberAttribute()]
1156    Transferring = 2,
1157
1158    [System.Runtime.Serialization.EnumMemberAttribute()]
1159    Calculating = 3,
1160
1161    [System.Runtime.Serialization.EnumMemberAttribute()]
1162    Paused = 4,
1163
1164    [System.Runtime.Serialization.EnumMemberAttribute()]
1165    Finished = 5,
1166
1167    [System.Runtime.Serialization.EnumMemberAttribute()]
1168    Aborted = 6,
1169
1170    [System.Runtime.Serialization.EnumMemberAttribute()]
1171    Failed = 7,
1172  }
1173
1174  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1175  [System.Runtime.Serialization.DataContractAttribute(Name = "Permission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1176  public enum Permission : int {
1177
1178    [System.Runtime.Serialization.EnumMemberAttribute()]
1179    NotAllowed = 0,
1180
1181    [System.Runtime.Serialization.EnumMemberAttribute()]
1182    Read = 1,
1183
1184    [System.Runtime.Serialization.EnumMemberAttribute()]
1185    Full = 2,
1186  }
1187
1188  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1189  [System.Runtime.Serialization.DataContractAttribute(Name = "CpuArchitecture", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1190  public enum CpuArchitecture : int {
1191
1192    [System.Runtime.Serialization.EnumMemberAttribute()]
1193    x86 = 0,
1194
1195    [System.Runtime.Serialization.EnumMemberAttribute()]
1196    x64 = 1,
1197  }
1198
1199  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1200  [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1201  public enum SlaveState : int {
1202
1203    [System.Runtime.Serialization.EnumMemberAttribute()]
1204    Idle = 0,
1205
1206    [System.Runtime.Serialization.EnumMemberAttribute()]
1207    Calculating = 1,
1208
1209    [System.Runtime.Serialization.EnumMemberAttribute()]
1210    Offline = 2,
1211  }
1212
1213  [System.Diagnostics.DebuggerStepThroughAttribute()]
1214  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1215  [System.Runtime.Serialization.DataContractAttribute(Name = "JobData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1216  [System.SerializableAttribute()]
1217  public partial class JobData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1218
1219    [System.NonSerializedAttribute()]
1220    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1221
1222    [System.Runtime.Serialization.OptionalFieldAttribute()]
1223    private byte[] DataField;
1224
1225    [System.Runtime.Serialization.OptionalFieldAttribute()]
1226    private System.Guid JobIdField;
1227
1228    [System.Runtime.Serialization.OptionalFieldAttribute()]
1229    private System.DateTime LastUpdateField;
1230
1231    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1232      get {
1233        return this.extensionDataField;
1234      }
1235      set {
1236        this.extensionDataField = value;
1237      }
1238    }
1239
1240    [System.Runtime.Serialization.DataMemberAttribute()]
1241    public byte[] Data {
1242      get {
1243        return this.DataField;
1244      }
1245      set {
1246        if ((object.ReferenceEquals(this.DataField, value) != true)) {
1247          this.DataField = value;
1248          this.RaisePropertyChanged("Data");
1249        }
1250      }
1251    }
1252
1253    [System.Runtime.Serialization.DataMemberAttribute()]
1254    public System.Guid JobId {
1255      get {
1256        return this.JobIdField;
1257      }
1258      set {
1259        if ((this.JobIdField.Equals(value) != true)) {
1260          this.JobIdField = value;
1261          this.RaisePropertyChanged("JobId");
1262        }
1263      }
1264    }
1265
1266    [System.Runtime.Serialization.DataMemberAttribute()]
1267    public System.DateTime LastUpdate {
1268      get {
1269        return this.LastUpdateField;
1270      }
1271      set {
1272        if ((this.LastUpdateField.Equals(value) != true)) {
1273          this.LastUpdateField = value;
1274          this.RaisePropertyChanged("LastUpdate");
1275        }
1276      }
1277    }
1278
1279    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1280
1281    protected void RaisePropertyChanged(string propertyName) {
1282      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1283      if ((propertyChanged != null)) {
1284        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1285      }
1286    }
1287  }
1288
1289  [System.Diagnostics.DebuggerStepThroughAttribute()]
1290  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1291  [System.Runtime.Serialization.DataContractAttribute(Name = "Heartbeat", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1292  [System.SerializableAttribute()]
1293  public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1294
1295    [System.NonSerializedAttribute()]
1296    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1297
1298    [System.Runtime.Serialization.OptionalFieldAttribute()]
1299    private bool AssignJobField;
1300
1301    [System.Runtime.Serialization.OptionalFieldAttribute()]
1302    private float CpuUtilizationField;
1303
1304    [System.Runtime.Serialization.OptionalFieldAttribute()]
1305    private int FreeCoresField;
1306
1307    [System.Runtime.Serialization.OptionalFieldAttribute()]
1308    private int FreeMemoryField;
1309
1310    [System.Runtime.Serialization.OptionalFieldAttribute()]
1311    private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField;
1312
1313    [System.Runtime.Serialization.OptionalFieldAttribute()]
1314    private System.Guid SlaveIdField;
1315
1316    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1317      get {
1318        return this.extensionDataField;
1319      }
1320      set {
1321        this.extensionDataField = value;
1322      }
1323    }
1324
1325    [System.Runtime.Serialization.DataMemberAttribute()]
1326    public bool AssignJob {
1327      get {
1328        return this.AssignJobField;
1329      }
1330      set {
1331        if ((this.AssignJobField.Equals(value) != true)) {
1332          this.AssignJobField = value;
1333          this.RaisePropertyChanged("AssignJob");
1334        }
1335      }
1336    }
1337
1338    [System.Runtime.Serialization.DataMemberAttribute()]
1339    public float CpuUtilization {
1340      get {
1341        return this.CpuUtilizationField;
1342      }
1343      set {
1344        if ((this.CpuUtilizationField.Equals(value) != true)) {
1345          this.CpuUtilizationField = value;
1346          this.RaisePropertyChanged("CpuUtilization");
1347        }
1348      }
1349    }
1350
1351    [System.Runtime.Serialization.DataMemberAttribute()]
1352    public int FreeCores {
1353      get {
1354        return this.FreeCoresField;
1355      }
1356      set {
1357        if ((this.FreeCoresField.Equals(value) != true)) {
1358          this.FreeCoresField = value;
1359          this.RaisePropertyChanged("FreeCores");
1360        }
1361      }
1362    }
1363
1364    [System.Runtime.Serialization.DataMemberAttribute()]
1365    public int FreeMemory {
1366      get {
1367        return this.FreeMemoryField;
1368      }
1369      set {
1370        if ((this.FreeMemoryField.Equals(value) != true)) {
1371          this.FreeMemoryField = value;
1372          this.RaisePropertyChanged("FreeMemory");
1373        }
1374      }
1375    }
1376
1377    [System.Runtime.Serialization.DataMemberAttribute()]
1378    public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress {
1379      get {
1380        return this.JobProgressField;
1381      }
1382      set {
1383        if ((object.ReferenceEquals(this.JobProgressField, value) != true)) {
1384          this.JobProgressField = value;
1385          this.RaisePropertyChanged("JobProgress");
1386        }
1387      }
1388    }
1389
1390    [System.Runtime.Serialization.DataMemberAttribute()]
1391    public System.Guid SlaveId {
1392      get {
1393        return this.SlaveIdField;
1394      }
1395      set {
1396        if ((this.SlaveIdField.Equals(value) != true)) {
1397          this.SlaveIdField = value;
1398          this.RaisePropertyChanged("SlaveId");
1399        }
1400      }
1401    }
1402
1403    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1404
1405    protected void RaisePropertyChanged(string propertyName) {
1406      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1407      if ((propertyChanged != null)) {
1408        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1409      }
1410    }
1411  }
1412
1413  [System.Diagnostics.DebuggerStepThroughAttribute()]
1414  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1415  [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1416  [System.SerializableAttribute()]
1417  public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1418
1419    [System.NonSerializedAttribute()]
1420    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1421
1422    [System.Runtime.Serialization.OptionalFieldAttribute()]
1423    private System.Guid JobIdField;
1424
1425    [System.Runtime.Serialization.OptionalFieldAttribute()]
1426    private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField;
1427
1428    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1429      get {
1430        return this.extensionDataField;
1431      }
1432      set {
1433        this.extensionDataField = value;
1434      }
1435    }
1436
1437    [System.Runtime.Serialization.DataMemberAttribute()]
1438    public System.Guid JobId {
1439      get {
1440        return this.JobIdField;
1441      }
1442      set {
1443        if ((this.JobIdField.Equals(value) != true)) {
1444          this.JobIdField = value;
1445          this.RaisePropertyChanged("JobId");
1446        }
1447      }
1448    }
1449
1450    [System.Runtime.Serialization.DataMemberAttribute()]
1451    public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message {
1452      get {
1453        return this.MessageField;
1454      }
1455      set {
1456        if ((this.MessageField.Equals(value) != true)) {
1457          this.MessageField = value;
1458          this.RaisePropertyChanged("Message");
1459        }
1460      }
1461    }
1462
1463    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1464
1465    protected void RaisePropertyChanged(string propertyName) {
1466      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1467      if ((propertyChanged != null)) {
1468        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1469      }
1470    }
1471
1472    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1473    [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer.MessageType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1474    public enum MessageType : int {
1475
1476      [System.Runtime.Serialization.EnumMemberAttribute()]
1477      CalculateJob = 0,
1478
1479      [System.Runtime.Serialization.EnumMemberAttribute()]
1480      StopJob = 1,
1481
1482      [System.Runtime.Serialization.EnumMemberAttribute()]
1483      StopAll = 2,
1484
1485      [System.Runtime.Serialization.EnumMemberAttribute()]
1486      AbortJob = 3,
1487
1488      [System.Runtime.Serialization.EnumMemberAttribute()]
1489      AbortAll = 4,
1490
1491      [System.Runtime.Serialization.EnumMemberAttribute()]
1492      PauseJob = 5,
1493
1494      [System.Runtime.Serialization.EnumMemberAttribute()]
1495      PauseAll = 6,
1496
1497      [System.Runtime.Serialization.EnumMemberAttribute()]
1498      Restart = 7,
1499
1500      [System.Runtime.Serialization.EnumMemberAttribute()]
1501      Sleep = 8,
1502
1503      [System.Runtime.Serialization.EnumMemberAttribute()]
1504      ShutdownSlave = 9,
1505
1506      [System.Runtime.Serialization.EnumMemberAttribute()]
1507      SayHello = 10,
1508    }
1509  }
1510
1511  [System.Diagnostics.DebuggerStepThroughAttribute()]
1512  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1513  [System.Runtime.Serialization.DataContractAttribute(Name = "PluginAlreadyExistsFault", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1514  [System.SerializableAttribute()]
1515  public partial class PluginAlreadyExistsFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1516
1517    [System.NonSerializedAttribute()]
1518    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1519
1520    [System.Runtime.Serialization.OptionalFieldAttribute()]
1521    private System.Guid IdField;
1522
1523    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1524      get {
1525        return this.extensionDataField;
1526      }
1527      set {
1528        this.extensionDataField = value;
1529      }
1530    }
1531
1532    [System.Runtime.Serialization.DataMemberAttribute()]
1533    public System.Guid Id {
1534      get {
1535        return this.IdField;
1536      }
1537      set {
1538        if ((this.IdField.Equals(value) != true)) {
1539          this.IdField = value;
1540          this.RaisePropertyChanged("Id");
1541        }
1542      }
1543    }
1544
1545    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1546
1547    protected void RaisePropertyChanged(string propertyName) {
1548      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1549      if ((propertyChanged != null)) {
1550        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1551      }
1552    }
1553  }
1554
1555  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1556  [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.Hive.IHiveService")]
1557  public interface IHiveService {
1558
1559    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")]
1560    void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup);
1561
1562    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlave", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveResponse")]
1563    void DeleteSlave(System.Guid slaveId);
1564
1565    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")]
1566    void DeleteSlaveGroup(System.Guid slaveGroupId);
1567
1568    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction = "http://tempuri.org/IHiveService/AddResourceToGroupResponse")]
1569    void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId);
1570
1571    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction = "http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")]
1572    void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId);
1573
1574    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetResourceIdResponse")]
1575    System.Guid GetResourceId(string resourceName);
1576
1577    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobsByResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetJobsByResourceIdResponse")]
1578    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobsByResourceId(System.Guid resourceId);
1579
1580    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/TriggerEventManager", ReplyAction = "http://tempuri.org/IHiveService/TriggerEventManagerResponse")]
1581    void TriggerEventManager(bool force);
1582
1583    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddDowntime", ReplyAction = "http://tempuri.org/IHiveService/AddDowntimeResponse")]
1584    System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime);
1585
1586    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteDowntime", ReplyAction = "http://tempuri.org/IHiveService/DeleteDowntimeResponse")]
1587    void DeleteDowntime(System.Guid downtimeId);
1588
1589    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateDowntime", ReplyAction = "http://tempuri.org/IHiveService/UpdateDowntimeResponse")]
1590    void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime);
1591
1592    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetDowntimesForResource", ReplyAction = "http://tempuri.org/IHiveService/GetDowntimesForResourceResponse")]
1593    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId);
1594
1595    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUsernameByUserId", ReplyAction = "http://tempuri.org/IHiveService/GetUsernameByUserIdResponse")]
1596    string GetUsernameByUserId(System.Guid userId);
1597
1598    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUserIdByUsername", ReplyAction = "http://tempuri.org/IHiveService/GetUserIdByUsernameResponse")]
1599    System.Guid GetUserIdByUsername(string username);
1600
1601    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddJob", ReplyAction = "http://tempuri.org/IHiveService/AddJobResponse")]
1602    System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds);
1603
1604    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddChildJob", ReplyAction = "http://tempuri.org/IHiveService/AddChildJobResponse")]
1605    System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData);
1606
1607    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJob", ReplyAction = "http://tempuri.org/IHiveService/GetJobResponse")]
1608    HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId);
1609
1610    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobs", ReplyAction = "http://tempuri.org/IHiveService/GetJobsResponse")]
1611    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs();
1612
1613    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightJobs", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightJobsResponse")]
1614    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds);
1615
1616    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightChildJobs", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightChildJobsResponse")]
1617    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent);
1618
1619    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightExperimentJobs", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightExperimentJobsResponse")]
1620    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightExperimentJobs(System.Guid experimentId);
1621
1622    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobData", ReplyAction = "http://tempuri.org/IHiveService/GetJobDataResponse")]
1623    HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId);
1624
1625    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJob", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobResponse")]
1626    void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto);
1627
1628    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJobData", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobDataResponse")]
1629    void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto);
1630
1631    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteJob", ReplyAction = "http://tempuri.org/IHiveService/DeleteJobResponse")]
1632    void DeleteJob(System.Guid jobId);
1633
1634    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteChildJobs", ReplyAction = "http://tempuri.org/IHiveService/DeleteChildJobsResponse")]
1635    void DeleteChildJobs(System.Guid parentJobId);
1636
1637    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJobState", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobStateResponse")]
1638    HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception);
1639
1640    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/StopJob", ReplyAction = "http://tempuri.org/IHiveService/StopJobResponse")]
1641    void StopJob(System.Guid jobId);
1642
1643    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/PauseJob", ReplyAction = "http://tempuri.org/IHiveService/PauseJobResponse")]
1644    void PauseJob(System.Guid jobId);
1645
1646    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RestartJob", ReplyAction = "http://tempuri.org/IHiveService/RestartJobResponse")]
1647    void RestartJob(System.Guid jobId);
1648
1649    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/GetHiveExperimentResponse")]
1650    HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id);
1651
1652    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetHiveExperiments", ReplyAction = "http://tempuri.org/IHiveService/GetHiveExperimentsResponse")]
1653    System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments();
1654
1655    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetAllHiveExperiments", ReplyAction = "http://tempuri.org/IHiveService/GetAllHiveExperimentsResponse")]
1656    System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments();
1657
1658    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/AddHiveExperimentResponse")]
1659    System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto);
1660
1661    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/UpdateHiveExperimentResponse")]
1662    void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto);
1663
1664    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/DeleteHiveExperimentResponse")]
1665    void DeleteHiveExperiment(System.Guid hiveExperimentId);
1666
1667    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantPermission", ReplyAction = "http://tempuri.org/IHiveService/GrantPermissionResponse")]
1668    void GrantPermission(System.Guid hiveExperimentId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission);
1669
1670    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokePermission", ReplyAction = "http://tempuri.org/IHiveService/RevokePermissionResponse")]
1671    void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId);
1672
1673    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetHiveExperimentPermissions", ReplyAction = "http://tempuri.org/IHiveService/GetHiveExperimentPermissionsResponse")]
1674    System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperimentPermission> GetHiveExperimentPermissions(System.Guid hiveExperimentId);
1675
1676    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/IsAllowedPrivileged", ReplyAction = "http://tempuri.org/IHiveService/IsAllowedPrivilegedResponse")]
1677    bool IsAllowedPrivileged();
1678
1679    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Hello", ReplyAction = "http://tempuri.org/IHiveService/HelloResponse")]
1680    void Hello(HeuristicLab.Clients.Hive.Slave slave);
1681
1682    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GoodBye", ReplyAction = "http://tempuri.org/IHiveService/GoodByeResponse")]
1683    void GoodBye(System.Guid slaveId);
1684
1685    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Heartbeat", ReplyAction = "http://tempuri.org/IHiveService/HeartbeatResponse")]
1686    System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat([System.ServiceModel.MessageParameterAttribute(Name = "heartbeat")] HeuristicLab.Clients.Hive.Heartbeat heartbeat1);
1687
1688    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPlugin", ReplyAction = "http://tempuri.org/IHiveService/GetPluginResponse")]
1689    HeuristicLab.Clients.Hive.Plugin GetPlugin(System.Guid pluginId);
1690
1691    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPluginByHash", ReplyAction = "http://tempuri.org/IHiveService/GetPluginByHashResponse")]
1692    HeuristicLab.Clients.Hive.Plugin GetPluginByHash(byte[] hash);
1693
1694    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddPlugin", ReplyAction = "http://tempuri.org/IHiveService/AddPluginResponse")]
1695    [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")]
1696    System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData);
1697
1698    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPlugins", ReplyAction = "http://tempuri.org/IHiveService/GetPluginsResponse")]
1699    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins();
1700
1701    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPluginDatas", ReplyAction = "http://tempuri.org/IHiveService/GetPluginDatasResponse")]
1702    System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds);
1703
1704    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeletePlugin", ReplyAction = "http://tempuri.org/IHiveService/DeletePluginResponse")]
1705    void DeletePlugin(System.Guid pluginId);
1706
1707    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlave", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveResponse")]
1708    System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave);
1709
1710    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveGroupResponse")]
1711    System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup);
1712
1713    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlave", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveResponse")]
1714    HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId);
1715
1716    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupResponse")]
1717    HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId);
1718
1719    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")]
1720    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves();
1721
1722    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")]
1723    System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups();
1724
1725    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")]
1726    void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave);
1727  }
1728
1729  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1730  public interface IHiveServiceChannel : HeuristicLab.Clients.Hive.IHiveService, System.ServiceModel.IClientChannel {
1731  }
1732
1733  [System.Diagnostics.DebuggerStepThroughAttribute()]
1734  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1735  public partial class HiveServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Hive.IHiveService>, HeuristicLab.Clients.Hive.IHiveService {
1736
1737    public HiveServiceClient() {
1738    }
1739
1740    public HiveServiceClient(string endpointConfigurationName) :
1741      base(endpointConfigurationName) {
1742    }
1743
1744    public HiveServiceClient(string endpointConfigurationName, string remoteAddress) :
1745      base(endpointConfigurationName, remoteAddress) {
1746    }
1747
1748    public HiveServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
1749      base(endpointConfigurationName, remoteAddress) {
1750    }
1751
1752    public HiveServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
1753      base(binding, remoteAddress) {
1754    }
1755
1756    public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) {
1757      base.Channel.UpdateSlaveGroup(slaveGroup);
1758    }
1759
1760    public void DeleteSlave(System.Guid slaveId) {
1761      base.Channel.DeleteSlave(slaveId);
1762    }
1763
1764    public void DeleteSlaveGroup(System.Guid slaveGroupId) {
1765      base.Channel.DeleteSlaveGroup(slaveGroupId);
1766    }
1767
1768    public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) {
1769      base.Channel.AddResourceToGroup(slaveGroupId, resourceId);
1770    }
1771
1772    public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) {
1773      base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId);
1774    }
1775
1776    public System.Guid GetResourceId(string resourceName) {
1777      return base.Channel.GetResourceId(resourceName);
1778    }
1779
1780    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobsByResourceId(System.Guid resourceId) {
1781      return base.Channel.GetJobsByResourceId(resourceId);
1782    }
1783
1784    public void TriggerEventManager(bool force) {
1785      base.Channel.TriggerEventManager(force);
1786    }
1787
1788    public System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {
1789      return base.Channel.AddDowntime(downtime);
1790    }
1791
1792    public void DeleteDowntime(System.Guid downtimeId) {
1793      base.Channel.DeleteDowntime(downtimeId);
1794    }
1795
1796    public void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {
1797      base.Channel.UpdateDowntime(downtime);
1798    }
1799
1800    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId) {
1801      return base.Channel.GetDowntimesForResource(resourceId);
1802    }
1803
1804    public string GetUsernameByUserId(System.Guid userId) {
1805      return base.Channel.GetUsernameByUserId(userId);
1806    }
1807
1808    public System.Guid GetUserIdByUsername(string username) {
1809      return base.Channel.GetUserIdByUsername(username);
1810    }
1811
1812    public System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds) {
1813      return base.Channel.AddJob(job, jobData, resourceIds);
1814    }
1815
1816    public System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData) {
1817      return base.Channel.AddChildJob(parentJobId, job, jobData);
1818    }
1819
1820    public HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId) {
1821      return base.Channel.GetJob(jobId);
1822    }
1823
1824    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() {
1825      return base.Channel.GetJobs();
1826    }
1827
1828    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds) {
1829      return base.Channel.GetLightweightJobs(jobIds);
1830    }
1831
1832    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent) {
1833      return base.Channel.GetLightweightChildJobs(parentJobId, recursive, includeParent);
1834    }
1835
1836    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightExperimentJobs(System.Guid experimentId) {
1837      return base.Channel.GetLightweightExperimentJobs(experimentId);
1838    }
1839
1840    public HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId) {
1841      return base.Channel.GetJobData(jobId);
1842    }
1843
1844    public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) {
1845      base.Channel.UpdateJob(jobDto);
1846    }
1847
1848    public void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto) {
1849      base.Channel.UpdateJobData(jobDto, jobDataDto);
1850    }
1851
1852    public void DeleteJob(System.Guid jobId) {
1853      base.Channel.DeleteJob(jobId);
1854    }
1855
1856    public void DeleteChildJobs(System.Guid parentJobId) {
1857      base.Channel.DeleteChildJobs(parentJobId);
1858    }
1859
1860    public HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception) {
1861      return base.Channel.UpdateJobState(jobId, jobState, slaveId, userId, exception);
1862    }
1863
1864    public void StopJob(System.Guid jobId) {
1865      base.Channel.StopJob(jobId);
1866    }
1867
1868    public void PauseJob(System.Guid jobId) {
1869      base.Channel.PauseJob(jobId);
1870    }
1871
1872    public void RestartJob(System.Guid jobId) {
1873      base.Channel.RestartJob(jobId);
1874    }
1875
1876    public HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id) {
1877      return base.Channel.GetHiveExperiment(id);
1878    }
1879
1880    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments() {
1881      return base.Channel.GetHiveExperiments();
1882    }
1883
1884    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments() {
1885      return base.Channel.GetAllHiveExperiments();
1886    }
1887
1888    public System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) {
1889      return base.Channel.AddHiveExperiment(hiveExperimentDto);
1890    }
1891
1892    public void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) {
1893      base.Channel.UpdateHiveExperiment(hiveExperimentDto);
1894    }
1895
1896    public void DeleteHiveExperiment(System.Guid hiveExperimentId) {
1897      base.Channel.DeleteHiveExperiment(hiveExperimentId);
1898    }
1899
1900    public void GrantPermission(System.Guid hiveExperimentId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission) {
1901      base.Channel.GrantPermission(hiveExperimentId, grantedUserId, permission);
1902    }
1903
1904    public void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId) {
1905      base.Channel.RevokePermission(hiveExperimentId, grantedUserId);
1906    }
1907
1908    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperimentPermission> GetHiveExperimentPermissions(System.Guid hiveExperimentId) {
1909      return base.Channel.GetHiveExperimentPermissions(hiveExperimentId);
1910    }
1911
1912    public bool IsAllowedPrivileged() {
1913      return base.Channel.IsAllowedPrivileged();
1914    }
1915
1916    public void Hello(HeuristicLab.Clients.Hive.Slave slave) {
1917      base.Channel.Hello(slave);
1918    }
1919
1920    public void GoodBye(System.Guid slaveId) {
1921      base.Channel.GoodBye(slaveId);
1922    }
1923
1924    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat(HeuristicLab.Clients.Hive.Heartbeat heartbeat1) {
1925      return base.Channel.Heartbeat(heartbeat1);
1926    }
1927
1928    public HeuristicLab.Clients.Hive.Plugin GetPlugin(System.Guid pluginId) {
1929      return base.Channel.GetPlugin(pluginId);
1930    }
1931
1932    public HeuristicLab.Clients.Hive.Plugin GetPluginByHash(byte[] hash) {
1933      return base.Channel.GetPluginByHash(hash);
1934    }
1935
1936    public System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData) {
1937      return base.Channel.AddPlugin(plugin, pluginData);
1938    }
1939
1940    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins() {
1941      return base.Channel.GetPlugins();
1942    }
1943
1944    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds) {
1945      return base.Channel.GetPluginDatas(pluginIds);
1946    }
1947
1948    public void DeletePlugin(System.Guid pluginId) {
1949      base.Channel.DeletePlugin(pluginId);
1950    }
1951
1952    public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) {
1953      return base.Channel.AddSlave(slave);
1954    }
1955
1956    public System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) {
1957      return base.Channel.AddSlaveGroup(slaveGroup);
1958    }
1959
1960    public HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId) {
1961      return base.Channel.GetSlave(slaveId);
1962    }
1963
1964    public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) {
1965      return base.Channel.GetSlaveGroup(slaveGroupId);
1966    }
1967
1968    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() {
1969      return base.Channel.GetSlaves();
1970    }
1971
1972    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() {
1973      return base.Channel.GetSlaveGroups();
1974    }
1975
1976    public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) {
1977      base.Channel.UpdateSlave(slave);
1978    }
1979  }
1980}
Note: See TracBrowser for help on using the repository browser.