Changeset 8086 for branches/ScatterSearch (trunk integration)/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs
- Timestamp:
- 06/22/12 11:11:38 (12 years ago)
- Location:
- branches/ScatterSearch (trunk integration)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)
- Property svn:ignore
-
old new 20 20 bin 21 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Clients.Hive/3.3
- Property svn:ignore
-
old new 3 3 bin 4 4 *.vs10x 5 *.user
-
- Property svn:ignore
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs
r6976 r8086 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319. 2374 // Runtime Version:4.0.30319.17379 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 14 14 [System.Diagnostics.DebuggerStepThroughAttribute()] 15 15 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 16 [System.Runtime.Serialization.DataContractAttribute(Name = " Heartbeat", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]16 [System.Runtime.Serialization.DataContractAttribute(Name = "Slave", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 17 17 [System.SerializableAttribute()] 18 public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 19 20 [System.NonSerializedAttribute()] 21 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 22 23 [System.Runtime.Serialization.OptionalFieldAttribute()] 24 private bool AssignJobField; 25 26 [System.Runtime.Serialization.OptionalFieldAttribute()] 27 private float CpuUtilizationField; 28 29 [System.Runtime.Serialization.OptionalFieldAttribute()] 30 private int FreeCoresField; 31 32 [System.Runtime.Serialization.OptionalFieldAttribute()] 33 private int FreeMemoryField; 34 35 [System.Runtime.Serialization.OptionalFieldAttribute()] 36 private int HbIntervalField; 37 38 [System.Runtime.Serialization.OptionalFieldAttribute()] 39 private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField; 40 41 [System.Runtime.Serialization.OptionalFieldAttribute()] 42 private System.Guid SlaveIdField; 43 44 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 45 get { 46 return this.extensionDataField; 47 } 48 set { 49 this.extensionDataField = value; 50 } 51 } 52 53 [System.Runtime.Serialization.DataMemberAttribute()] 54 public bool AssignJob { 55 get { 56 return this.AssignJobField; 57 } 58 set { 59 if ((this.AssignJobField.Equals(value) != true)) { 60 this.AssignJobField = value; 61 this.RaisePropertyChanged("AssignJob"); 62 } 63 } 64 } 65 66 [System.Runtime.Serialization.DataMemberAttribute()] 67 public float CpuUtilization { 18 public partial class Slave : HeuristicLab.Clients.Hive.Resource { 19 20 [System.Runtime.Serialization.OptionalFieldAttribute()] 21 private System.Nullable<int> CoresField; 22 23 [System.Runtime.Serialization.OptionalFieldAttribute()] 24 private HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitectureField; 25 26 [System.Runtime.Serialization.OptionalFieldAttribute()] 27 private System.Nullable<int> CpuSpeedField; 28 29 [System.Runtime.Serialization.OptionalFieldAttribute()] 30 private double CpuUtilizationField; 31 32 [System.Runtime.Serialization.OptionalFieldAttribute()] 33 private System.Nullable<int> FreeCoresField; 34 35 [System.Runtime.Serialization.OptionalFieldAttribute()] 36 private System.Nullable<int> FreeMemoryField; 37 38 [System.Runtime.Serialization.OptionalFieldAttribute()] 39 private bool IsAllowedToCalculateField; 40 41 [System.Runtime.Serialization.OptionalFieldAttribute()] 42 private System.Nullable<bool> IsDisposableField; 43 44 [System.Runtime.Serialization.OptionalFieldAttribute()] 45 private System.Nullable<System.DateTime> LastHeartbeatField; 46 47 [System.Runtime.Serialization.OptionalFieldAttribute()] 48 private System.Nullable<int> MemoryField; 49 50 [System.Runtime.Serialization.OptionalFieldAttribute()] 51 private string OperatingSystemField; 52 53 [System.Runtime.Serialization.OptionalFieldAttribute()] 54 private HeuristicLab.Clients.Hive.SlaveState SlaveStateField; 55 56 [System.Runtime.Serialization.DataMemberAttribute()] 57 public System.Nullable<int> Cores { 58 get { 59 return this.CoresField; 60 } 61 set { 62 if ((this.CoresField.Equals(value) != true)) { 63 this.CoresField = value; 64 this.RaisePropertyChanged("Cores"); 65 } 66 } 67 } 68 69 [System.Runtime.Serialization.DataMemberAttribute()] 70 public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture { 71 get { 72 return this.CpuArchitectureField; 73 } 74 set { 75 if ((this.CpuArchitectureField.Equals(value) != true)) { 76 this.CpuArchitectureField = value; 77 this.RaisePropertyChanged("CpuArchitecture"); 78 } 79 } 80 } 81 82 [System.Runtime.Serialization.DataMemberAttribute()] 83 public System.Nullable<int> CpuSpeed { 84 get { 85 return this.CpuSpeedField; 86 } 87 set { 88 if ((this.CpuSpeedField.Equals(value) != true)) { 89 this.CpuSpeedField = value; 90 this.RaisePropertyChanged("CpuSpeed"); 91 } 92 } 93 } 94 95 [System.Runtime.Serialization.DataMemberAttribute()] 96 public double CpuUtilization { 68 97 get { 69 98 return this.CpuUtilizationField; … … 78 107 79 108 [System.Runtime.Serialization.DataMemberAttribute()] 80 public intFreeCores {109 public System.Nullable<int> FreeCores { 81 110 get { 82 111 return this.FreeCoresField; … … 91 120 92 121 [System.Runtime.Serialization.DataMemberAttribute()] 93 public intFreeMemory {122 public System.Nullable<int> FreeMemory { 94 123 get { 95 124 return this.FreeMemoryField; … … 104 133 105 134 [System.Runtime.Serialization.DataMemberAttribute()] 106 public int HbInterval { 107 get { 108 return this.HbIntervalField; 109 } 110 set { 111 if ((this.HbIntervalField.Equals(value) != true)) { 112 this.HbIntervalField = value; 113 this.RaisePropertyChanged("HbInterval"); 114 } 115 } 116 } 117 118 [System.Runtime.Serialization.DataMemberAttribute()] 119 public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress { 120 get { 121 return this.JobProgressField; 122 } 123 set { 124 if ((object.ReferenceEquals(this.JobProgressField, value) != true)) { 125 this.JobProgressField = value; 126 this.RaisePropertyChanged("JobProgress"); 127 } 128 } 129 } 130 131 [System.Runtime.Serialization.DataMemberAttribute()] 132 public System.Guid SlaveId { 133 get { 134 return this.SlaveIdField; 135 } 136 set { 137 if ((this.SlaveIdField.Equals(value) != true)) { 138 this.SlaveIdField = value; 139 this.RaisePropertyChanged("SlaveId"); 140 } 141 } 142 } 143 144 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 145 146 protected void RaisePropertyChanged(string propertyName) { 147 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 148 if ((propertyChanged != null)) { 149 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 150 } 151 } 152 } 153 154 [System.Diagnostics.DebuggerStepThroughAttribute()] 155 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 156 [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")] 157 [System.SerializableAttribute()] 158 public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 159 160 [System.NonSerializedAttribute()] 161 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 162 163 [System.Runtime.Serialization.OptionalFieldAttribute()] 164 private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField; 165 166 [System.Runtime.Serialization.OptionalFieldAttribute()] 167 private System.Guid TaskIdField; 168 169 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 170 get { 171 return this.extensionDataField; 172 } 173 set { 174 this.extensionDataField = value; 175 } 176 } 177 178 [System.Runtime.Serialization.DataMemberAttribute()] 179 public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message { 180 get { 181 return this.MessageField; 182 } 183 set { 184 if ((this.MessageField.Equals(value) != true)) { 185 this.MessageField = value; 186 this.RaisePropertyChanged("Message"); 187 } 188 } 189 } 190 191 [System.Runtime.Serialization.DataMemberAttribute()] 192 public System.Guid TaskId { 193 get { 194 return this.TaskIdField; 195 } 196 set { 197 if ((this.TaskIdField.Equals(value) != true)) { 198 this.TaskIdField = value; 199 this.RaisePropertyChanged("TaskId"); 200 } 201 } 202 } 203 204 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 205 206 protected void RaisePropertyChanged(string propertyName) { 207 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 208 if ((propertyChanged != null)) { 209 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 210 } 211 } 212 213 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 214 [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer.MessageType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")] 215 public enum MessageType : int { 216 217 [System.Runtime.Serialization.EnumMemberAttribute()] 218 CalculateTask = 0, 219 220 [System.Runtime.Serialization.EnumMemberAttribute()] 221 StopTask = 1, 222 223 [System.Runtime.Serialization.EnumMemberAttribute()] 224 StopAll = 2, 225 226 [System.Runtime.Serialization.EnumMemberAttribute()] 227 AbortTask = 3, 228 229 [System.Runtime.Serialization.EnumMemberAttribute()] 230 AbortAll = 4, 231 232 [System.Runtime.Serialization.EnumMemberAttribute()] 233 PauseTask = 5, 234 235 [System.Runtime.Serialization.EnumMemberAttribute()] 236 PauseAll = 6, 237 238 [System.Runtime.Serialization.EnumMemberAttribute()] 239 Restart = 7, 240 241 [System.Runtime.Serialization.EnumMemberAttribute()] 242 Sleep = 8, 243 244 [System.Runtime.Serialization.EnumMemberAttribute()] 245 ShutdownSlave = 9, 246 247 [System.Runtime.Serialization.EnumMemberAttribute()] 248 SayHello = 10, 249 250 [System.Runtime.Serialization.EnumMemberAttribute()] 251 NewHBInterval = 11, 135 public bool IsAllowedToCalculate { 136 get { 137 return this.IsAllowedToCalculateField; 138 } 139 set { 140 if ((this.IsAllowedToCalculateField.Equals(value) != true)) { 141 this.IsAllowedToCalculateField = value; 142 this.RaisePropertyChanged("IsAllowedToCalculate"); 143 } 144 } 145 } 146 147 [System.Runtime.Serialization.DataMemberAttribute()] 148 public System.Nullable<bool> IsDisposable { 149 get { 150 return this.IsDisposableField; 151 } 152 set { 153 if ((this.IsDisposableField.Equals(value) != true)) { 154 this.IsDisposableField = value; 155 this.RaisePropertyChanged("IsDisposable"); 156 } 157 } 158 } 159 160 [System.Runtime.Serialization.DataMemberAttribute()] 161 public System.Nullable<System.DateTime> LastHeartbeat { 162 get { 163 return this.LastHeartbeatField; 164 } 165 set { 166 if ((this.LastHeartbeatField.Equals(value) != true)) { 167 this.LastHeartbeatField = value; 168 this.RaisePropertyChanged("LastHeartbeat"); 169 } 170 } 171 } 172 173 [System.Runtime.Serialization.DataMemberAttribute()] 174 public System.Nullable<int> Memory { 175 get { 176 return this.MemoryField; 177 } 178 set { 179 if ((this.MemoryField.Equals(value) != true)) { 180 this.MemoryField = value; 181 this.RaisePropertyChanged("Memory"); 182 } 183 } 184 } 185 186 [System.Runtime.Serialization.DataMemberAttribute()] 187 public string OperatingSystem { 188 get { 189 return this.OperatingSystemField; 190 } 191 set { 192 if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) { 193 this.OperatingSystemField = value; 194 this.RaisePropertyChanged("OperatingSystem"); 195 } 196 } 197 } 198 199 [System.Runtime.Serialization.DataMemberAttribute()] 200 public HeuristicLab.Clients.Hive.SlaveState SlaveState { 201 get { 202 return this.SlaveStateField; 203 } 204 set { 205 if ((this.SlaveStateField.Equals(value) != true)) { 206 this.SlaveStateField = value; 207 this.RaisePropertyChanged("SlaveState"); 208 } 209 } 252 210 } 253 211 } … … 257 215 [System.Runtime.Serialization.DataContractAttribute(Name = "HiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 258 216 [System.SerializableAttribute()] 259 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))]260 217 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.LightweightTask))] 261 218 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))] … … 263 220 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Downtime))] 264 221 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.JobPermission))] 222 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))] 223 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.ResourcePermission))] 265 224 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.NamedHiveItem))] 266 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))]267 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]268 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]269 225 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))] 270 226 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))] 227 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))] 228 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 229 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 271 230 public partial class HiveItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 272 231 … … 300 259 301 260 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 302 }303 304 [System.Diagnostics.DebuggerStepThroughAttribute()]305 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]306 [System.Runtime.Serialization.DataContractAttribute(Name = "PluginData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]307 [System.SerializableAttribute()]308 public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem {309 310 [System.Runtime.Serialization.OptionalFieldAttribute()]311 private byte[] DataField;312 313 [System.Runtime.Serialization.OptionalFieldAttribute()]314 private string FileNameField;315 316 [System.Runtime.Serialization.OptionalFieldAttribute()]317 private System.Guid PluginIdField;318 319 [System.Runtime.Serialization.DataMemberAttribute()]320 public byte[] Data {321 get {322 return this.DataField;323 }324 set {325 if ((object.ReferenceEquals(this.DataField, value) != true)) {326 this.DataField = value;327 this.RaisePropertyChanged("Data");328 }329 }330 }331 332 [System.Runtime.Serialization.DataMemberAttribute()]333 public string FileName {334 get {335 return this.FileNameField;336 }337 set {338 if ((object.ReferenceEquals(this.FileNameField, value) != true)) {339 this.FileNameField = value;340 this.RaisePropertyChanged("FileName");341 }342 }343 }344 345 [System.Runtime.Serialization.DataMemberAttribute()]346 public System.Guid PluginId {347 get {348 return this.PluginIdField;349 }350 set {351 if ((this.PluginIdField.Equals(value) != true)) {352 this.PluginIdField = value;353 this.RaisePropertyChanged("PluginId");354 }355 }356 }357 261 } 358 262 … … 891 795 [System.Diagnostics.DebuggerStepThroughAttribute()] 892 796 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 797 [System.Runtime.Serialization.DataContractAttribute(Name = "PluginData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 798 [System.SerializableAttribute()] 799 public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem { 800 801 [System.Runtime.Serialization.OptionalFieldAttribute()] 802 private byte[] DataField; 803 804 [System.Runtime.Serialization.OptionalFieldAttribute()] 805 private string FileNameField; 806 807 [System.Runtime.Serialization.OptionalFieldAttribute()] 808 private System.Guid PluginIdField; 809 810 [System.Runtime.Serialization.DataMemberAttribute()] 811 public byte[] Data { 812 get { 813 return this.DataField; 814 } 815 set { 816 if ((object.ReferenceEquals(this.DataField, value) != true)) { 817 this.DataField = value; 818 this.RaisePropertyChanged("Data"); 819 } 820 } 821 } 822 823 [System.Runtime.Serialization.DataMemberAttribute()] 824 public string FileName { 825 get { 826 return this.FileNameField; 827 } 828 set { 829 if ((object.ReferenceEquals(this.FileNameField, value) != true)) { 830 this.FileNameField = value; 831 this.RaisePropertyChanged("FileName"); 832 } 833 } 834 } 835 836 [System.Runtime.Serialization.DataMemberAttribute()] 837 public System.Guid PluginId { 838 get { 839 return this.PluginIdField; 840 } 841 set { 842 if ((this.PluginIdField.Equals(value) != true)) { 843 this.PluginIdField = value; 844 this.RaisePropertyChanged("PluginId"); 845 } 846 } 847 } 848 } 849 850 [System.Diagnostics.DebuggerStepThroughAttribute()] 851 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 852 [System.Runtime.Serialization.DataContractAttribute(Name = "ResourcePermission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 853 [System.SerializableAttribute()] 854 public partial class ResourcePermission : HeuristicLab.Clients.Hive.HiveItem { 855 856 [System.Runtime.Serialization.OptionalFieldAttribute()] 857 private System.Guid GrantedByUserIdField; 858 859 [System.Runtime.Serialization.OptionalFieldAttribute()] 860 private System.Guid GrantedUserIdField; 861 862 [System.Runtime.Serialization.OptionalFieldAttribute()] 863 private System.Guid ResourceIdField; 864 865 [System.Runtime.Serialization.DataMemberAttribute()] 866 public System.Guid GrantedByUserId { 867 get { 868 return this.GrantedByUserIdField; 869 } 870 set { 871 if ((this.GrantedByUserIdField.Equals(value) != true)) { 872 this.GrantedByUserIdField = value; 873 this.RaisePropertyChanged("GrantedByUserId"); 874 } 875 } 876 } 877 878 [System.Runtime.Serialization.DataMemberAttribute()] 879 public System.Guid GrantedUserId { 880 get { 881 return this.GrantedUserIdField; 882 } 883 set { 884 if ((this.GrantedUserIdField.Equals(value) != true)) { 885 this.GrantedUserIdField = value; 886 this.RaisePropertyChanged("GrantedUserId"); 887 } 888 } 889 } 890 891 [System.Runtime.Serialization.DataMemberAttribute()] 892 public System.Guid ResourceId { 893 get { 894 return this.ResourceIdField; 895 } 896 set { 897 if ((this.ResourceIdField.Equals(value) != true)) { 898 this.ResourceIdField = value; 899 this.RaisePropertyChanged("ResourceId"); 900 } 901 } 902 } 903 } 904 905 [System.Diagnostics.DebuggerStepThroughAttribute()] 906 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 893 907 [System.Runtime.Serialization.DataContractAttribute(Name = "NamedHiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 894 908 [System.SerializableAttribute()] 895 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))]896 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]897 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]898 909 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))] 899 910 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))] 911 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))] 912 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 913 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 900 914 public partial class NamedHiveItem : HeuristicLab.Clients.Hive.HiveItem { 901 915 … … 935 949 [System.Diagnostics.DebuggerStepThroughAttribute()] 936 950 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 951 [System.Runtime.Serialization.DataContractAttribute(Name = "Job", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 952 [System.SerializableAttribute()] 953 public partial class Job : HeuristicLab.Clients.Hive.NamedHiveItem { 954 955 [System.Runtime.Serialization.OptionalFieldAttribute()] 956 private int CalculatingCountField; 957 958 [System.Runtime.Serialization.OptionalFieldAttribute()] 959 private System.DateTime DateCreatedField; 960 961 [System.Runtime.Serialization.OptionalFieldAttribute()] 962 private int FinishedCountField; 963 964 [System.Runtime.Serialization.OptionalFieldAttribute()] 965 private int JobCountField; 966 967 [System.Runtime.Serialization.OptionalFieldAttribute()] 968 private System.Guid OwnerUserIdField; 969 970 [System.Runtime.Serialization.OptionalFieldAttribute()] 971 private string OwnerUsernameField; 972 973 [System.Runtime.Serialization.OptionalFieldAttribute()] 974 private HeuristicLab.Clients.Hive.Permission PermissionField; 975 976 [System.Runtime.Serialization.OptionalFieldAttribute()] 977 private string ResourceNamesField; 978 979 [System.Runtime.Serialization.DataMemberAttribute()] 980 public int CalculatingCount { 981 get { 982 return this.CalculatingCountField; 983 } 984 set { 985 if ((this.CalculatingCountField.Equals(value) != true)) { 986 this.CalculatingCountField = value; 987 this.RaisePropertyChanged("CalculatingCount"); 988 } 989 } 990 } 991 992 [System.Runtime.Serialization.DataMemberAttribute()] 993 public System.DateTime DateCreated { 994 get { 995 return this.DateCreatedField; 996 } 997 set { 998 if ((this.DateCreatedField.Equals(value) != true)) { 999 this.DateCreatedField = value; 1000 this.RaisePropertyChanged("DateCreated"); 1001 } 1002 } 1003 } 1004 1005 [System.Runtime.Serialization.DataMemberAttribute()] 1006 public int FinishedCount { 1007 get { 1008 return this.FinishedCountField; 1009 } 1010 set { 1011 if ((this.FinishedCountField.Equals(value) != true)) { 1012 this.FinishedCountField = value; 1013 this.RaisePropertyChanged("FinishedCount"); 1014 } 1015 } 1016 } 1017 1018 [System.Runtime.Serialization.DataMemberAttribute()] 1019 public int JobCount { 1020 get { 1021 return this.JobCountField; 1022 } 1023 set { 1024 if ((this.JobCountField.Equals(value) != true)) { 1025 this.JobCountField = value; 1026 this.RaisePropertyChanged("JobCount"); 1027 } 1028 } 1029 } 1030 1031 [System.Runtime.Serialization.DataMemberAttribute()] 1032 public System.Guid OwnerUserId { 1033 get { 1034 return this.OwnerUserIdField; 1035 } 1036 set { 1037 if ((this.OwnerUserIdField.Equals(value) != true)) { 1038 this.OwnerUserIdField = value; 1039 this.RaisePropertyChanged("OwnerUserId"); 1040 } 1041 } 1042 } 1043 1044 [System.Runtime.Serialization.DataMemberAttribute()] 1045 public string OwnerUsername { 1046 get { 1047 return this.OwnerUsernameField; 1048 } 1049 set { 1050 if ((object.ReferenceEquals(this.OwnerUsernameField, value) != true)) { 1051 this.OwnerUsernameField = value; 1052 this.RaisePropertyChanged("OwnerUsername"); 1053 } 1054 } 1055 } 1056 1057 [System.Runtime.Serialization.DataMemberAttribute()] 1058 public HeuristicLab.Clients.Hive.Permission Permission { 1059 get { 1060 return this.PermissionField; 1061 } 1062 set { 1063 if ((this.PermissionField.Equals(value) != true)) { 1064 this.PermissionField = value; 1065 this.RaisePropertyChanged("Permission"); 1066 } 1067 } 1068 } 1069 1070 [System.Runtime.Serialization.DataMemberAttribute()] 1071 public string ResourceNames { 1072 get { 1073 return this.ResourceNamesField; 1074 } 1075 set { 1076 if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) { 1077 this.ResourceNamesField = value; 1078 this.RaisePropertyChanged("ResourceNames"); 1079 } 1080 } 1081 } 1082 } 1083 1084 [System.Diagnostics.DebuggerStepThroughAttribute()] 1085 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1086 [System.Runtime.Serialization.DataContractAttribute(Name = "Plugin", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 1087 [System.SerializableAttribute()] 1088 public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem { 1089 1090 [System.Runtime.Serialization.OptionalFieldAttribute()] 1091 private System.DateTime DateCreatedField; 1092 1093 [System.Runtime.Serialization.OptionalFieldAttribute()] 1094 private byte[] HashField; 1095 1096 [System.Runtime.Serialization.OptionalFieldAttribute()] 1097 private System.Guid UserIdField; 1098 1099 [System.Runtime.Serialization.OptionalFieldAttribute()] 1100 private System.Version VersionField; 1101 1102 [System.Runtime.Serialization.DataMemberAttribute()] 1103 public System.DateTime DateCreated { 1104 get { 1105 return this.DateCreatedField; 1106 } 1107 set { 1108 if ((this.DateCreatedField.Equals(value) != true)) { 1109 this.DateCreatedField = value; 1110 this.RaisePropertyChanged("DateCreated"); 1111 } 1112 } 1113 } 1114 1115 [System.Runtime.Serialization.DataMemberAttribute()] 1116 public byte[] Hash { 1117 get { 1118 return this.HashField; 1119 } 1120 set { 1121 if ((object.ReferenceEquals(this.HashField, value) != true)) { 1122 this.HashField = value; 1123 this.RaisePropertyChanged("Hash"); 1124 } 1125 } 1126 } 1127 1128 [System.Runtime.Serialization.DataMemberAttribute()] 1129 public System.Guid UserId { 1130 get { 1131 return this.UserIdField; 1132 } 1133 set { 1134 if ((this.UserIdField.Equals(value) != true)) { 1135 this.UserIdField = value; 1136 this.RaisePropertyChanged("UserId"); 1137 } 1138 } 1139 } 1140 1141 [System.Runtime.Serialization.DataMemberAttribute()] 1142 public System.Version Version { 1143 get { 1144 return this.VersionField; 1145 } 1146 set { 1147 if ((object.ReferenceEquals(this.VersionField, value) != true)) { 1148 this.VersionField = value; 1149 this.RaisePropertyChanged("Version"); 1150 } 1151 } 1152 } 1153 } 1154 1155 [System.Diagnostics.DebuggerStepThroughAttribute()] 1156 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 937 1157 [System.Runtime.Serialization.DataContractAttribute(Name = "Resource", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 938 1158 [System.SerializableAttribute()] 1159 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 939 1160 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 940 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]941 1161 public partial class Resource : HeuristicLab.Clients.Hive.NamedHiveItem { 942 1162 943 1163 [System.Runtime.Serialization.OptionalFieldAttribute()] 944 1164 private int HbIntervalField; 1165 1166 [System.Runtime.Serialization.OptionalFieldAttribute()] 1167 private System.Nullable<System.Guid> OwnerUserIdField; 945 1168 946 1169 [System.Runtime.Serialization.OptionalFieldAttribute()] … … 961 1184 962 1185 [System.Runtime.Serialization.DataMemberAttribute()] 1186 public System.Nullable<System.Guid> OwnerUserId { 1187 get { 1188 return this.OwnerUserIdField; 1189 } 1190 set { 1191 if ((this.OwnerUserIdField.Equals(value) != true)) { 1192 this.OwnerUserIdField = value; 1193 this.RaisePropertyChanged("OwnerUserId"); 1194 } 1195 } 1196 } 1197 1198 [System.Runtime.Serialization.DataMemberAttribute()] 963 1199 public System.Nullable<System.Guid> ParentResourceId { 964 1200 get { … … 976 1212 [System.Diagnostics.DebuggerStepThroughAttribute()] 977 1213 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 978 [System.Runtime.Serialization.DataContractAttribute(Name = "Slave", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]979 [System.SerializableAttribute()]980 public partial class Slave : HeuristicLab.Clients.Hive.Resource {981 982 [System.Runtime.Serialization.OptionalFieldAttribute()]983 private System.Nullable<int> CoresField;984 985 [System.Runtime.Serialization.OptionalFieldAttribute()]986 private HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitectureField;987 988 [System.Runtime.Serialization.OptionalFieldAttribute()]989 private System.Nullable<int> CpuSpeedField;990 991 [System.Runtime.Serialization.OptionalFieldAttribute()]992 private double CpuUtilizationField;993 994 [System.Runtime.Serialization.OptionalFieldAttribute()]995 private System.Nullable<int> FreeCoresField;996 997 [System.Runtime.Serialization.OptionalFieldAttribute()]998 private System.Nullable<int> FreeMemoryField;999 1000 [System.Runtime.Serialization.OptionalFieldAttribute()]1001 private bool IsAllowedToCalculateField;1002 1003 [System.Runtime.Serialization.OptionalFieldAttribute()]1004 private System.Nullable<System.DateTime> LastHeartbeatField;1005 1006 [System.Runtime.Serialization.OptionalFieldAttribute()]1007 private System.Nullable<int> MemoryField;1008 1009 [System.Runtime.Serialization.OptionalFieldAttribute()]1010 private string OperatingSystemField;1011 1012 [System.Runtime.Serialization.OptionalFieldAttribute()]1013 private HeuristicLab.Clients.Hive.SlaveState SlaveStateField;1014 1015 [System.Runtime.Serialization.DataMemberAttribute()]1016 public System.Nullable<int> Cores {1017 get {1018 return this.CoresField;1019 }1020 set {1021 if ((this.CoresField.Equals(value) != true)) {1022 this.CoresField = value;1023 this.RaisePropertyChanged("Cores");1024 }1025 }1026 }1027 1028 [System.Runtime.Serialization.DataMemberAttribute()]1029 public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture {1030 get {1031 return this.CpuArchitectureField;1032 }1033 set {1034 if ((this.CpuArchitectureField.Equals(value) != true)) {1035 this.CpuArchitectureField = value;1036 this.RaisePropertyChanged("CpuArchitecture");1037 }1038 }1039 }1040 1041 [System.Runtime.Serialization.DataMemberAttribute()]1042 public System.Nullable<int> CpuSpeed {1043 get {1044 return this.CpuSpeedField;1045 }1046 set {1047 if ((this.CpuSpeedField.Equals(value) != true)) {1048 this.CpuSpeedField = value;1049 this.RaisePropertyChanged("CpuSpeed");1050 }1051 }1052 }1053 1054 [System.Runtime.Serialization.DataMemberAttribute()]1055 public double CpuUtilization {1056 get {1057 return this.CpuUtilizationField;1058 }1059 set {1060 if ((this.CpuUtilizationField.Equals(value) != true)) {1061 this.CpuUtilizationField = value;1062 this.RaisePropertyChanged("CpuUtilization");1063 }1064 }1065 }1066 1067 [System.Runtime.Serialization.DataMemberAttribute()]1068 public System.Nullable<int> FreeCores {1069 get {1070 return this.FreeCoresField;1071 }1072 set {1073 if ((this.FreeCoresField.Equals(value) != true)) {1074 this.FreeCoresField = value;1075 this.RaisePropertyChanged("FreeCores");1076 }1077 }1078 }1079 1080 [System.Runtime.Serialization.DataMemberAttribute()]1081 public System.Nullable<int> FreeMemory {1082 get {1083 return this.FreeMemoryField;1084 }1085 set {1086 if ((this.FreeMemoryField.Equals(value) != true)) {1087 this.FreeMemoryField = value;1088 this.RaisePropertyChanged("FreeMemory");1089 }1090 }1091 }1092 1093 [System.Runtime.Serialization.DataMemberAttribute()]1094 public bool IsAllowedToCalculate {1095 get {1096 return this.IsAllowedToCalculateField;1097 }1098 set {1099 if ((this.IsAllowedToCalculateField.Equals(value) != true)) {1100 this.IsAllowedToCalculateField = value;1101 this.RaisePropertyChanged("IsAllowedToCalculate");1102 }1103 }1104 }1105 1106 [System.Runtime.Serialization.DataMemberAttribute()]1107 public System.Nullable<System.DateTime> LastHeartbeat {1108 get {1109 return this.LastHeartbeatField;1110 }1111 set {1112 if ((this.LastHeartbeatField.Equals(value) != true)) {1113 this.LastHeartbeatField = value;1114 this.RaisePropertyChanged("LastHeartbeat");1115 }1116 }1117 }1118 1119 [System.Runtime.Serialization.DataMemberAttribute()]1120 public System.Nullable<int> Memory {1121 get {1122 return this.MemoryField;1123 }1124 set {1125 if ((this.MemoryField.Equals(value) != true)) {1126 this.MemoryField = value;1127 this.RaisePropertyChanged("Memory");1128 }1129 }1130 }1131 1132 [System.Runtime.Serialization.DataMemberAttribute()]1133 public string OperatingSystem {1134 get {1135 return this.OperatingSystemField;1136 }1137 set {1138 if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) {1139 this.OperatingSystemField = value;1140 this.RaisePropertyChanged("OperatingSystem");1141 }1142 }1143 }1144 1145 [System.Runtime.Serialization.DataMemberAttribute()]1146 public HeuristicLab.Clients.Hive.SlaveState SlaveState {1147 get {1148 return this.SlaveStateField;1149 }1150 set {1151 if ((this.SlaveStateField.Equals(value) != true)) {1152 this.SlaveStateField = value;1153 this.RaisePropertyChanged("SlaveState");1154 }1155 }1156 }1157 }1158 1159 [System.Diagnostics.DebuggerStepThroughAttribute()]1160 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]1161 1214 [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveGroup", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 1162 1215 [System.SerializableAttribute()] … … 1164 1217 } 1165 1218 1166 [System.Diagnostics.DebuggerStepThroughAttribute()] 1167 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1168 [System.Runtime.Serialization.DataContractAttribute(Name = "Job", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 1169 [System.SerializableAttribute()] 1170 public partial class Job : HeuristicLab.Clients.Hive.NamedHiveItem { 1171 1172 [System.Runtime.Serialization.OptionalFieldAttribute()] 1173 private int CalculatingCountField; 1174 1175 [System.Runtime.Serialization.OptionalFieldAttribute()] 1176 private System.DateTime DateCreatedField; 1177 1178 [System.Runtime.Serialization.OptionalFieldAttribute()] 1179 private int FinishedCountField; 1180 1181 [System.Runtime.Serialization.OptionalFieldAttribute()] 1182 private int JobCountField; 1183 1184 [System.Runtime.Serialization.OptionalFieldAttribute()] 1185 private System.Guid OwnerUserIdField; 1186 1187 [System.Runtime.Serialization.OptionalFieldAttribute()] 1188 private string OwnerUsernameField; 1189 1190 [System.Runtime.Serialization.OptionalFieldAttribute()] 1191 private HeuristicLab.Clients.Hive.Permission PermissionField; 1192 1193 [System.Runtime.Serialization.OptionalFieldAttribute()] 1194 private string ResourceNamesField; 1195 1196 [System.Runtime.Serialization.DataMemberAttribute()] 1197 public int CalculatingCount { 1198 get { 1199 return this.CalculatingCountField; 1200 } 1201 set { 1202 if ((this.CalculatingCountField.Equals(value) != true)) { 1203 this.CalculatingCountField = value; 1204 this.RaisePropertyChanged("CalculatingCount"); 1205 } 1206 } 1207 } 1208 1209 [System.Runtime.Serialization.DataMemberAttribute()] 1210 public System.DateTime DateCreated { 1211 get { 1212 return this.DateCreatedField; 1213 } 1214 set { 1215 if ((this.DateCreatedField.Equals(value) != true)) { 1216 this.DateCreatedField = value; 1217 this.RaisePropertyChanged("DateCreated"); 1218 } 1219 } 1220 } 1221 1222 [System.Runtime.Serialization.DataMemberAttribute()] 1223 public int FinishedCount { 1224 get { 1225 return this.FinishedCountField; 1226 } 1227 set { 1228 if ((this.FinishedCountField.Equals(value) != true)) { 1229 this.FinishedCountField = value; 1230 this.RaisePropertyChanged("FinishedCount"); 1231 } 1232 } 1233 } 1234 1235 [System.Runtime.Serialization.DataMemberAttribute()] 1236 public int JobCount { 1237 get { 1238 return this.JobCountField; 1239 } 1240 set { 1241 if ((this.JobCountField.Equals(value) != true)) { 1242 this.JobCountField = value; 1243 this.RaisePropertyChanged("JobCount"); 1244 } 1245 } 1246 } 1247 1248 [System.Runtime.Serialization.DataMemberAttribute()] 1249 public System.Guid OwnerUserId { 1250 get { 1251 return this.OwnerUserIdField; 1252 } 1253 set { 1254 if ((this.OwnerUserIdField.Equals(value) != true)) { 1255 this.OwnerUserIdField = value; 1256 this.RaisePropertyChanged("OwnerUserId"); 1257 } 1258 } 1259 } 1260 1261 [System.Runtime.Serialization.DataMemberAttribute()] 1262 public string OwnerUsername { 1263 get { 1264 return this.OwnerUsernameField; 1265 } 1266 set { 1267 if ((object.ReferenceEquals(this.OwnerUsernameField, value) != true)) { 1268 this.OwnerUsernameField = value; 1269 this.RaisePropertyChanged("OwnerUsername"); 1270 } 1271 } 1272 } 1273 1274 [System.Runtime.Serialization.DataMemberAttribute()] 1275 public HeuristicLab.Clients.Hive.Permission Permission { 1276 get { 1277 return this.PermissionField; 1278 } 1279 set { 1280 if ((this.PermissionField.Equals(value) != true)) { 1281 this.PermissionField = value; 1282 this.RaisePropertyChanged("Permission"); 1283 } 1284 } 1285 } 1286 1287 [System.Runtime.Serialization.DataMemberAttribute()] 1288 public string ResourceNames { 1289 get { 1290 return this.ResourceNamesField; 1291 } 1292 set { 1293 if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) { 1294 this.ResourceNamesField = value; 1295 this.RaisePropertyChanged("ResourceNames"); 1296 } 1297 } 1298 } 1299 } 1300 1301 [System.Diagnostics.DebuggerStepThroughAttribute()] 1302 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1303 [System.Runtime.Serialization.DataContractAttribute(Name = "Plugin", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 1304 [System.SerializableAttribute()] 1305 public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem { 1306 1307 [System.Runtime.Serialization.OptionalFieldAttribute()] 1308 private System.DateTime DateCreatedField; 1309 1310 [System.Runtime.Serialization.OptionalFieldAttribute()] 1311 private byte[] HashField; 1312 1313 [System.Runtime.Serialization.OptionalFieldAttribute()] 1314 private System.Guid UserIdField; 1315 1316 [System.Runtime.Serialization.OptionalFieldAttribute()] 1317 private System.Version VersionField; 1318 1319 [System.Runtime.Serialization.DataMemberAttribute()] 1320 public System.DateTime DateCreated { 1321 get { 1322 return this.DateCreatedField; 1323 } 1324 set { 1325 if ((this.DateCreatedField.Equals(value) != true)) { 1326 this.DateCreatedField = value; 1327 this.RaisePropertyChanged("DateCreated"); 1328 } 1329 } 1330 } 1331 1332 [System.Runtime.Serialization.DataMemberAttribute()] 1333 public byte[] Hash { 1334 get { 1335 return this.HashField; 1336 } 1337 set { 1338 if ((object.ReferenceEquals(this.HashField, value) != true)) { 1339 this.HashField = value; 1340 this.RaisePropertyChanged("Hash"); 1341 } 1342 } 1343 } 1344 1345 [System.Runtime.Serialization.DataMemberAttribute()] 1346 public System.Guid UserId { 1347 get { 1348 return this.UserIdField; 1349 } 1350 set { 1351 if ((this.UserIdField.Equals(value) != true)) { 1352 this.UserIdField = value; 1353 this.RaisePropertyChanged("UserId"); 1354 } 1355 } 1356 } 1357 1358 [System.Runtime.Serialization.DataMemberAttribute()] 1359 public System.Version Version { 1360 get { 1361 return this.VersionField; 1362 } 1363 set { 1364 if ((object.ReferenceEquals(this.VersionField, value) != true)) { 1365 this.VersionField = value; 1366 this.RaisePropertyChanged("Version"); 1367 } 1368 } 1369 } 1219 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1220 [System.Runtime.Serialization.DataContractAttribute(Name = "CpuArchitecture", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 1221 public enum CpuArchitecture : int { 1222 1223 [System.Runtime.Serialization.EnumMemberAttribute()] 1224 x86 = 0, 1225 1226 [System.Runtime.Serialization.EnumMemberAttribute()] 1227 x64 = 1, 1228 } 1229 1230 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1231 [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 1232 public enum SlaveState : int { 1233 1234 [System.Runtime.Serialization.EnumMemberAttribute()] 1235 Idle = 0, 1236 1237 [System.Runtime.Serialization.EnumMemberAttribute()] 1238 Calculating = 1, 1239 1240 [System.Runtime.Serialization.EnumMemberAttribute()] 1241 Offline = 2, 1370 1242 } 1371 1243 … … 1425 1297 [System.Runtime.Serialization.EnumMemberAttribute()] 1426 1298 Full = 2, 1427 }1428 1429 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]1430 [System.Runtime.Serialization.DataContractAttribute(Name = "CpuArchitecture", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]1431 public enum CpuArchitecture : int {1432 1433 [System.Runtime.Serialization.EnumMemberAttribute()]1434 x86 = 0,1435 1436 [System.Runtime.Serialization.EnumMemberAttribute()]1437 x64 = 1,1438 }1439 1440 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]1441 [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]1442 public enum SlaveState : int {1443 1444 [System.Runtime.Serialization.EnumMemberAttribute()]1445 Idle = 0,1446 1447 [System.Runtime.Serialization.EnumMemberAttribute()]1448 Calculating = 1,1449 1450 [System.Runtime.Serialization.EnumMemberAttribute()]1451 Offline = 2,1452 1299 } 1453 1300 … … 1530 1377 [System.Diagnostics.DebuggerStepThroughAttribute()] 1531 1378 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1532 [System.Runtime.Serialization.DataContractAttribute(Name = " PluginAlreadyExistsFault", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]1379 [System.Runtime.Serialization.DataContractAttribute(Name = "Heartbeat", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")] 1533 1380 [System.SerializableAttribute()] 1534 public partial class PluginAlreadyExistsFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {1381 public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 1535 1382 1536 1383 [System.NonSerializedAttribute()] … … 1538 1385 1539 1386 [System.Runtime.Serialization.OptionalFieldAttribute()] 1540 private System.Guid IdField; 1387 private bool AssignJobField; 1388 1389 [System.Runtime.Serialization.OptionalFieldAttribute()] 1390 private float CpuUtilizationField; 1391 1392 [System.Runtime.Serialization.OptionalFieldAttribute()] 1393 private int FreeCoresField; 1394 1395 [System.Runtime.Serialization.OptionalFieldAttribute()] 1396 private int FreeMemoryField; 1397 1398 [System.Runtime.Serialization.OptionalFieldAttribute()] 1399 private int HbIntervalField; 1400 1401 [System.Runtime.Serialization.OptionalFieldAttribute()] 1402 private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField; 1403 1404 [System.Runtime.Serialization.OptionalFieldAttribute()] 1405 private System.Guid SlaveIdField; 1541 1406 1542 1407 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { … … 1550 1415 1551 1416 [System.Runtime.Serialization.DataMemberAttribute()] 1552 public System.Guid Id { 1553 get { 1554 return this.IdField; 1555 } 1556 set { 1557 if ((this.IdField.Equals(value) != true)) { 1558 this.IdField = value; 1559 this.RaisePropertyChanged("Id"); 1417 public bool AssignJob { 1418 get { 1419 return this.AssignJobField; 1420 } 1421 set { 1422 if ((this.AssignJobField.Equals(value) != true)) { 1423 this.AssignJobField = value; 1424 this.RaisePropertyChanged("AssignJob"); 1425 } 1426 } 1427 } 1428 1429 [System.Runtime.Serialization.DataMemberAttribute()] 1430 public float CpuUtilization { 1431 get { 1432 return this.CpuUtilizationField; 1433 } 1434 set { 1435 if ((this.CpuUtilizationField.Equals(value) != true)) { 1436 this.CpuUtilizationField = value; 1437 this.RaisePropertyChanged("CpuUtilization"); 1438 } 1439 } 1440 } 1441 1442 [System.Runtime.Serialization.DataMemberAttribute()] 1443 public int FreeCores { 1444 get { 1445 return this.FreeCoresField; 1446 } 1447 set { 1448 if ((this.FreeCoresField.Equals(value) != true)) { 1449 this.FreeCoresField = value; 1450 this.RaisePropertyChanged("FreeCores"); 1451 } 1452 } 1453 } 1454 1455 [System.Runtime.Serialization.DataMemberAttribute()] 1456 public int FreeMemory { 1457 get { 1458 return this.FreeMemoryField; 1459 } 1460 set { 1461 if ((this.FreeMemoryField.Equals(value) != true)) { 1462 this.FreeMemoryField = value; 1463 this.RaisePropertyChanged("FreeMemory"); 1464 } 1465 } 1466 } 1467 1468 [System.Runtime.Serialization.DataMemberAttribute()] 1469 public int HbInterval { 1470 get { 1471 return this.HbIntervalField; 1472 } 1473 set { 1474 if ((this.HbIntervalField.Equals(value) != true)) { 1475 this.HbIntervalField = value; 1476 this.RaisePropertyChanged("HbInterval"); 1477 } 1478 } 1479 } 1480 1481 [System.Runtime.Serialization.DataMemberAttribute()] 1482 public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress { 1483 get { 1484 return this.JobProgressField; 1485 } 1486 set { 1487 if ((object.ReferenceEquals(this.JobProgressField, value) != true)) { 1488 this.JobProgressField = value; 1489 this.RaisePropertyChanged("JobProgress"); 1490 } 1491 } 1492 } 1493 1494 [System.Runtime.Serialization.DataMemberAttribute()] 1495 public System.Guid SlaveId { 1496 get { 1497 return this.SlaveIdField; 1498 } 1499 set { 1500 if ((this.SlaveIdField.Equals(value) != true)) { 1501 this.SlaveIdField = value; 1502 this.RaisePropertyChanged("SlaveId"); 1560 1503 } 1561 1504 } … … 1572 1515 } 1573 1516 1517 [System.Diagnostics.DebuggerStepThroughAttribute()] 1518 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1519 [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")] 1520 [System.SerializableAttribute()] 1521 public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 1522 1523 [System.NonSerializedAttribute()] 1524 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1525 1526 [System.Runtime.Serialization.OptionalFieldAttribute()] 1527 private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField; 1528 1529 [System.Runtime.Serialization.OptionalFieldAttribute()] 1530 private System.Guid TaskIdField; 1531 1532 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 1533 get { 1534 return this.extensionDataField; 1535 } 1536 set { 1537 this.extensionDataField = value; 1538 } 1539 } 1540 1541 [System.Runtime.Serialization.DataMemberAttribute()] 1542 public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message { 1543 get { 1544 return this.MessageField; 1545 } 1546 set { 1547 if ((this.MessageField.Equals(value) != true)) { 1548 this.MessageField = value; 1549 this.RaisePropertyChanged("Message"); 1550 } 1551 } 1552 } 1553 1554 [System.Runtime.Serialization.DataMemberAttribute()] 1555 public System.Guid TaskId { 1556 get { 1557 return this.TaskIdField; 1558 } 1559 set { 1560 if ((this.TaskIdField.Equals(value) != true)) { 1561 this.TaskIdField = value; 1562 this.RaisePropertyChanged("TaskId"); 1563 } 1564 } 1565 } 1566 1567 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1568 1569 protected void RaisePropertyChanged(string propertyName) { 1570 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1571 if ((propertyChanged != null)) { 1572 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1573 } 1574 } 1575 1576 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1577 [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer.MessageType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")] 1578 public enum MessageType : int { 1579 1580 [System.Runtime.Serialization.EnumMemberAttribute()] 1581 CalculateTask = 0, 1582 1583 [System.Runtime.Serialization.EnumMemberAttribute()] 1584 StopTask = 1, 1585 1586 [System.Runtime.Serialization.EnumMemberAttribute()] 1587 StopAll = 2, 1588 1589 [System.Runtime.Serialization.EnumMemberAttribute()] 1590 AbortTask = 3, 1591 1592 [System.Runtime.Serialization.EnumMemberAttribute()] 1593 AbortAll = 4, 1594 1595 [System.Runtime.Serialization.EnumMemberAttribute()] 1596 PauseTask = 5, 1597 1598 [System.Runtime.Serialization.EnumMemberAttribute()] 1599 PauseAll = 6, 1600 1601 [System.Runtime.Serialization.EnumMemberAttribute()] 1602 Restart = 7, 1603 1604 [System.Runtime.Serialization.EnumMemberAttribute()] 1605 Sleep = 8, 1606 1607 [System.Runtime.Serialization.EnumMemberAttribute()] 1608 ShutdownSlave = 9, 1609 1610 [System.Runtime.Serialization.EnumMemberAttribute()] 1611 SayHello = 10, 1612 1613 [System.Runtime.Serialization.EnumMemberAttribute()] 1614 NewHBInterval = 11, 1615 } 1616 } 1617 1618 [System.Diagnostics.DebuggerStepThroughAttribute()] 1619 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1620 [System.Runtime.Serialization.DataContractAttribute(Name = "PluginAlreadyExistsFault", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")] 1621 [System.SerializableAttribute()] 1622 public partial class PluginAlreadyExistsFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 1623 1624 [System.NonSerializedAttribute()] 1625 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1626 1627 [System.Runtime.Serialization.OptionalFieldAttribute()] 1628 private System.Guid IdField; 1629 1630 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 1631 get { 1632 return this.extensionDataField; 1633 } 1634 set { 1635 this.extensionDataField = value; 1636 } 1637 } 1638 1639 [System.Runtime.Serialization.DataMemberAttribute()] 1640 public System.Guid Id { 1641 get { 1642 return this.IdField; 1643 } 1644 set { 1645 if ((this.IdField.Equals(value) != true)) { 1646 this.IdField = value; 1647 this.RaisePropertyChanged("Id"); 1648 } 1649 } 1650 } 1651 1652 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1653 1654 protected void RaisePropertyChanged(string propertyName) { 1655 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1656 if ((propertyChanged != null)) { 1657 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1658 } 1659 } 1660 } 1661 1574 1662 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1575 1663 [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.Hive.IHiveService")] 1576 1664 public interface IHiveService { 1577 1665 1666 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")] 1667 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves(); 1668 1669 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")] 1670 System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups(); 1671 1672 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")] 1673 void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave); 1674 1675 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")] 1676 void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1677 1678 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlave", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveResponse")] 1679 void DeleteSlave(System.Guid slaveId); 1680 1681 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")] 1682 void DeleteSlaveGroup(System.Guid slaveGroupId); 1683 1684 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction = "http://tempuri.org/IHiveService/AddResourceToGroupResponse")] 1685 void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId); 1686 1687 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction = "http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")] 1688 void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId); 1689 1690 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetResourceIdResponse")] 1691 System.Guid GetResourceId(string resourceName); 1692 1693 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTasksByResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetTasksByResourceIdResponse")] 1694 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasksByResourceId(System.Guid resourceId); 1695 1696 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/TriggerEventManager", ReplyAction = "http://tempuri.org/IHiveService/TriggerEventManagerResponse")] 1697 void TriggerEventManager(bool force); 1698 1699 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetNewHeartbeatInterval", ReplyAction = "http://tempuri.org/IHiveService/GetNewHeartbeatIntervalResponse")] 1700 int GetNewHeartbeatInterval(System.Guid slaveId); 1701 1702 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddDowntime", ReplyAction = "http://tempuri.org/IHiveService/AddDowntimeResponse")] 1703 System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime); 1704 1705 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteDowntime", ReplyAction = "http://tempuri.org/IHiveService/DeleteDowntimeResponse")] 1706 void DeleteDowntime(System.Guid downtimeId); 1707 1708 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateDowntime", ReplyAction = "http://tempuri.org/IHiveService/UpdateDowntimeResponse")] 1709 void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime); 1710 1711 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetDowntimesForResource", ReplyAction = "http://tempuri.org/IHiveService/GetDowntimesForResourceResponse")] 1712 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId); 1713 1714 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUsernameByUserId", ReplyAction = "http://tempuri.org/IHiveService/GetUsernameByUserIdResponse")] 1715 string GetUsernameByUserId(System.Guid userId); 1716 1578 1717 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUserIdByUsername", ReplyAction = "http://tempuri.org/IHiveService/GetUserIdByUsernameResponse")] 1579 1718 System.Guid GetUserIdByUsername(string username); 1719 1720 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddTask", ReplyAction = "http://tempuri.org/IHiveService/AddTaskResponse")] 1721 System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds); 1722 1723 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddChildTask", ReplyAction = "http://tempuri.org/IHiveService/AddChildTaskResponse")] 1724 System.Guid AddChildTask(System.Guid parentTaskId, HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData); 1725 1726 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTask", ReplyAction = "http://tempuri.org/IHiveService/GetTaskResponse")] 1727 HeuristicLab.Clients.Hive.Task GetTask(System.Guid taskId); 1728 1729 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTasks", ReplyAction = "http://tempuri.org/IHiveService/GetTasksResponse")] 1730 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasks(); 1731 1732 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightTasksResponse")] 1733 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightTasks(System.Collections.Generic.List<System.Guid> taskIds); 1734 1735 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightChildTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightChildTasksResponse")] 1736 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightChildTasks(System.Nullable<System.Guid> parentTaskId, bool recursive, bool includeParent); 1737 1738 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightJobTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightJobTasksResponse")] 1739 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightJobTasks(System.Guid jobId); 1740 1741 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTaskData", ReplyAction = "http://tempuri.org/IHiveService/GetTaskDataResponse")] 1742 HeuristicLab.Clients.Hive.TaskData GetTaskData(System.Guid taskId); 1743 1744 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTask", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskResponse")] 1745 void UpdateTask(HeuristicLab.Clients.Hive.Task taskDto); 1746 1747 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTaskData", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskDataResponse")] 1748 void UpdateTaskData(HeuristicLab.Clients.Hive.Task taskDto, HeuristicLab.Clients.Hive.TaskData taskDataDto); 1749 1750 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteTask", ReplyAction = "http://tempuri.org/IHiveService/DeleteTaskResponse")] 1751 void DeleteTask(System.Guid taskId); 1752 1753 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteChildTasks", ReplyAction = "http://tempuri.org/IHiveService/DeleteChildTasksResponse")] 1754 void DeleteChildTasks(System.Guid parentTaskId); 1755 1756 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTaskState", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskStateResponse")] 1757 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); 1758 1759 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/StopTask", ReplyAction = "http://tempuri.org/IHiveService/StopTaskResponse")] 1760 void StopTask(System.Guid taskId); 1761 1762 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/PauseTask", ReplyAction = "http://tempuri.org/IHiveService/PauseTaskResponse")] 1763 void PauseTask(System.Guid taskId); 1764 1765 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RestartTask", ReplyAction = "http://tempuri.org/IHiveService/RestartTaskResponse")] 1766 void RestartTask(System.Guid taskId); 1767 1768 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJob", ReplyAction = "http://tempuri.org/IHiveService/GetJobResponse")] 1769 HeuristicLab.Clients.Hive.Job GetJob(System.Guid id); 1770 1771 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobs", ReplyAction = "http://tempuri.org/IHiveService/GetJobsResponse")] 1772 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs(); 1773 1774 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetAllJobs", ReplyAction = "http://tempuri.org/IHiveService/GetAllJobsResponse")] 1775 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetAllJobs(); 1776 1777 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddJob", ReplyAction = "http://tempuri.org/IHiveService/AddJobResponse")] 1778 System.Guid AddJob(HeuristicLab.Clients.Hive.Job jobDto); 1779 1780 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJob", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobResponse")] 1781 void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto); 1782 1783 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteJob", ReplyAction = "http://tempuri.org/IHiveService/DeleteJobResponse")] 1784 void DeleteJob(System.Guid JobId); 1785 1786 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantPermission", ReplyAction = "http://tempuri.org/IHiveService/GrantPermissionResponse")] 1787 void GrantPermission(System.Guid jobId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission); 1788 1789 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokePermission", ReplyAction = "http://tempuri.org/IHiveService/RevokePermissionResponse")] 1790 void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId); 1791 1792 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobPermissions", ReplyAction = "http://tempuri.org/IHiveService/GetJobPermissionsResponse")] 1793 System.Collections.Generic.List<HeuristicLab.Clients.Hive.JobPermission> GetJobPermissions(System.Guid jobId); 1794 1795 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/IsAllowedPrivileged", ReplyAction = "http://tempuri.org/IHiveService/IsAllowedPrivilegedResponse")] 1796 bool IsAllowedPrivileged(); 1797 1798 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Hello", ReplyAction = "http://tempuri.org/IHiveService/HelloResponse")] 1799 void Hello(HeuristicLab.Clients.Hive.Slave slave); 1800 1801 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GoodBye", ReplyAction = "http://tempuri.org/IHiveService/GoodByeResponse")] 1802 void GoodBye(System.Guid slaveId); 1580 1803 1581 1804 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Heartbeat", ReplyAction = "http://tempuri.org/IHiveService/HeartbeatResponse")] … … 1601 1824 void DeletePlugin(System.Guid pluginId); 1602 1825 1826 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/GrantResourcePermissionsResponse")] 1827 void GrantResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds); 1828 1829 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokeResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/RevokeResourcePermissionsResponse")] 1830 void RevokeResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds); 1831 1832 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/GetResourcePermissionsResponse")] 1833 System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetResourcePermissions(System.Guid resourceId); 1834 1603 1835 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlave", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveResponse")] 1604 1836 System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave); … … 1612 1844 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupResponse")] 1613 1845 HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId); 1614 1615 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")]1616 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves();1617 1618 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")]1619 System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups();1620 1621 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")]1622 void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave);1623 1624 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")]1625 void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup);1626 1627 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlave", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveResponse")]1628 void DeleteSlave(System.Guid slaveId);1629 1630 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")]1631 void DeleteSlaveGroup(System.Guid slaveGroupId);1632 1633 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction = "http://tempuri.org/IHiveService/AddResourceToGroupResponse")]1634 void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId);1635 1636 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction = "http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")]1637 void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId);1638 1639 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetResourceIdResponse")]1640 System.Guid GetResourceId(string resourceName);1641 1642 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTasksByResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetTasksByResourceIdResponse")]1643 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasksByResourceId(System.Guid resourceId);1644 1645 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/TriggerEventManager", ReplyAction = "http://tempuri.org/IHiveService/TriggerEventManagerResponse")]1646 void TriggerEventManager(bool force);1647 1648 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetNewHeartbeatInterval", ReplyAction = "http://tempuri.org/IHiveService/GetNewHeartbeatIntervalResponse")]1649 int GetNewHeartbeatInterval(System.Guid slaveId);1650 1651 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddDowntime", ReplyAction = "http://tempuri.org/IHiveService/AddDowntimeResponse")]1652 System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime);1653 1654 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteDowntime", ReplyAction = "http://tempuri.org/IHiveService/DeleteDowntimeResponse")]1655 void DeleteDowntime(System.Guid downtimeId);1656 1657 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateDowntime", ReplyAction = "http://tempuri.org/IHiveService/UpdateDowntimeResponse")]1658 void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime);1659 1660 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetDowntimesForResource", ReplyAction = "http://tempuri.org/IHiveService/GetDowntimesForResourceResponse")]1661 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId);1662 1663 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUsernameByUserId", ReplyAction = "http://tempuri.org/IHiveService/GetUsernameByUserIdResponse")]1664 string GetUsernameByUserId(System.Guid userId);1665 1666 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddTask", ReplyAction = "http://tempuri.org/IHiveService/AddTaskResponse")]1667 System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds);1668 1669 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddChildTask", ReplyAction = "http://tempuri.org/IHiveService/AddChildTaskResponse")]1670 System.Guid AddChildTask(System.Guid parentTaskId, HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData);1671 1672 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTask", ReplyAction = "http://tempuri.org/IHiveService/GetTaskResponse")]1673 HeuristicLab.Clients.Hive.Task GetTask(System.Guid taskId);1674 1675 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTasks", ReplyAction = "http://tempuri.org/IHiveService/GetTasksResponse")]1676 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasks();1677 1678 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightTasksResponse")]1679 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightTasks(System.Collections.Generic.List<System.Guid> taskIds);1680 1681 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightChildTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightChildTasksResponse")]1682 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightChildTasks(System.Nullable<System.Guid> parentTaskId, bool recursive, bool includeParent);1683 1684 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightJobTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightJobTasksResponse")]1685 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightJobTasks(System.Guid jobId);1686 1687 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTaskData", ReplyAction = "http://tempuri.org/IHiveService/GetTaskDataResponse")]1688 HeuristicLab.Clients.Hive.TaskData GetTaskData(System.Guid taskId);1689 1690 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTask", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskResponse")]1691 void UpdateTask(HeuristicLab.Clients.Hive.Task taskDto);1692 1693 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTaskData", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskDataResponse")]1694 void UpdateTaskData(HeuristicLab.Clients.Hive.Task taskDto, HeuristicLab.Clients.Hive.TaskData taskDataDto);1695 1696 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteTask", ReplyAction = "http://tempuri.org/IHiveService/DeleteTaskResponse")]1697 void DeleteTask(System.Guid taskId);1698 1699 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteChildTasks", ReplyAction = "http://tempuri.org/IHiveService/DeleteChildTasksResponse")]1700 void DeleteChildTasks(System.Guid parentTaskId);1701 1702 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTaskState", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskStateResponse")]1703 HeuristicLab.Clients.Hive.Task UpdateTaskState(System.Guid taskId, HeuristicLab.Clients.Hive.TaskState taskState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception);1704 1705 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/StopTask", ReplyAction = "http://tempuri.org/IHiveService/StopTaskResponse")]1706 void StopTask(System.Guid taskId);1707 1708 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/PauseTask", ReplyAction = "http://tempuri.org/IHiveService/PauseTaskResponse")]1709 void PauseTask(System.Guid taskId);1710 1711 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RestartTask", ReplyAction = "http://tempuri.org/IHiveService/RestartTaskResponse")]1712 void RestartTask(System.Guid taskId);1713 1714 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJob", ReplyAction = "http://tempuri.org/IHiveService/GetJobResponse")]1715 HeuristicLab.Clients.Hive.Job GetJob(System.Guid id);1716 1717 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobs", ReplyAction = "http://tempuri.org/IHiveService/GetJobsResponse")]1718 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs();1719 1720 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetAllJobs", ReplyAction = "http://tempuri.org/IHiveService/GetAllJobsResponse")]1721 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetAllJobs();1722 1723 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddJob", ReplyAction = "http://tempuri.org/IHiveService/AddJobResponse")]1724 System.Guid AddJob(HeuristicLab.Clients.Hive.Job jobDto);1725 1726 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJob", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobResponse")]1727 void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto);1728 1729 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteJob", ReplyAction = "http://tempuri.org/IHiveService/DeleteJobResponse")]1730 void DeleteJob(System.Guid JobId);1731 1732 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantPermission", ReplyAction = "http://tempuri.org/IHiveService/GrantPermissionResponse")]1733 void GrantPermission(System.Guid jobId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission);1734 1735 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokePermission", ReplyAction = "http://tempuri.org/IHiveService/RevokePermissionResponse")]1736 void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId);1737 1738 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobPermissions", ReplyAction = "http://tempuri.org/IHiveService/GetJobPermissionsResponse")]1739 System.Collections.Generic.List<HeuristicLab.Clients.Hive.JobPermission> GetJobPermissions(System.Guid jobId);1740 1741 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/IsAllowedPrivileged", ReplyAction = "http://tempuri.org/IHiveService/IsAllowedPrivilegedResponse")]1742 bool IsAllowedPrivileged();1743 1744 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Hello", ReplyAction = "http://tempuri.org/IHiveService/HelloResponse")]1745 void Hello(HeuristicLab.Clients.Hive.Slave slave);1746 1747 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GoodBye", ReplyAction = "http://tempuri.org/IHiveService/GoodByeResponse")]1748 void GoodBye(System.Guid slaveId);1749 1846 } 1750 1847 … … 1776 1873 } 1777 1874 1875 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() { 1876 return base.Channel.GetSlaves(); 1877 } 1878 1879 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() { 1880 return base.Channel.GetSlaveGroups(); 1881 } 1882 1883 public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) { 1884 base.Channel.UpdateSlave(slave); 1885 } 1886 1887 public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) { 1888 base.Channel.UpdateSlaveGroup(slaveGroup); 1889 } 1890 1891 public void DeleteSlave(System.Guid slaveId) { 1892 base.Channel.DeleteSlave(slaveId); 1893 } 1894 1895 public void DeleteSlaveGroup(System.Guid slaveGroupId) { 1896 base.Channel.DeleteSlaveGroup(slaveGroupId); 1897 } 1898 1899 public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) { 1900 base.Channel.AddResourceToGroup(slaveGroupId, resourceId); 1901 } 1902 1903 public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) { 1904 base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId); 1905 } 1906 1907 public System.Guid GetResourceId(string resourceName) { 1908 return base.Channel.GetResourceId(resourceName); 1909 } 1910 1911 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasksByResourceId(System.Guid resourceId) { 1912 return base.Channel.GetTasksByResourceId(resourceId); 1913 } 1914 1915 public void TriggerEventManager(bool force) { 1916 base.Channel.TriggerEventManager(force); 1917 } 1918 1919 public int GetNewHeartbeatInterval(System.Guid slaveId) { 1920 return base.Channel.GetNewHeartbeatInterval(slaveId); 1921 } 1922 1923 public System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime) { 1924 return base.Channel.AddDowntime(downtime); 1925 } 1926 1927 public void DeleteDowntime(System.Guid downtimeId) { 1928 base.Channel.DeleteDowntime(downtimeId); 1929 } 1930 1931 public void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime) { 1932 base.Channel.UpdateDowntime(downtime); 1933 } 1934 1935 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId) { 1936 return base.Channel.GetDowntimesForResource(resourceId); 1937 } 1938 1939 public string GetUsernameByUserId(System.Guid userId) { 1940 return base.Channel.GetUsernameByUserId(userId); 1941 } 1942 1778 1943 public System.Guid GetUserIdByUsername(string username) { 1779 1944 return base.Channel.GetUserIdByUsername(username); 1780 1945 } 1781 1946 1947 public System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds) { 1948 return base.Channel.AddTask(task, taskData, resourceIds); 1949 } 1950 1951 public System.Guid AddChildTask(System.Guid parentTaskId, HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData) { 1952 return base.Channel.AddChildTask(parentTaskId, task, taskData); 1953 } 1954 1955 public HeuristicLab.Clients.Hive.Task GetTask(System.Guid taskId) { 1956 return base.Channel.GetTask(taskId); 1957 } 1958 1959 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasks() { 1960 return base.Channel.GetTasks(); 1961 } 1962 1963 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightTasks(System.Collections.Generic.List<System.Guid> taskIds) { 1964 return base.Channel.GetLightweightTasks(taskIds); 1965 } 1966 1967 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightChildTasks(System.Nullable<System.Guid> parentTaskId, bool recursive, bool includeParent) { 1968 return base.Channel.GetLightweightChildTasks(parentTaskId, recursive, includeParent); 1969 } 1970 1971 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightJobTasks(System.Guid jobId) { 1972 return base.Channel.GetLightweightJobTasks(jobId); 1973 } 1974 1975 public HeuristicLab.Clients.Hive.TaskData GetTaskData(System.Guid taskId) { 1976 return base.Channel.GetTaskData(taskId); 1977 } 1978 1979 public void UpdateTask(HeuristicLab.Clients.Hive.Task taskDto) { 1980 base.Channel.UpdateTask(taskDto); 1981 } 1982 1983 public void UpdateTaskData(HeuristicLab.Clients.Hive.Task taskDto, HeuristicLab.Clients.Hive.TaskData taskDataDto) { 1984 base.Channel.UpdateTaskData(taskDto, taskDataDto); 1985 } 1986 1987 public void DeleteTask(System.Guid taskId) { 1988 base.Channel.DeleteTask(taskId); 1989 } 1990 1991 public void DeleteChildTasks(System.Guid parentTaskId) { 1992 base.Channel.DeleteChildTasks(parentTaskId); 1993 } 1994 1995 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) { 1996 return base.Channel.UpdateTaskState(taskId, taskState, slaveId, userId, exception); 1997 } 1998 1999 public void StopTask(System.Guid taskId) { 2000 base.Channel.StopTask(taskId); 2001 } 2002 2003 public void PauseTask(System.Guid taskId) { 2004 base.Channel.PauseTask(taskId); 2005 } 2006 2007 public void RestartTask(System.Guid taskId) { 2008 base.Channel.RestartTask(taskId); 2009 } 2010 2011 public HeuristicLab.Clients.Hive.Job GetJob(System.Guid id) { 2012 return base.Channel.GetJob(id); 2013 } 2014 2015 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() { 2016 return base.Channel.GetJobs(); 2017 } 2018 2019 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetAllJobs() { 2020 return base.Channel.GetAllJobs(); 2021 } 2022 2023 public System.Guid AddJob(HeuristicLab.Clients.Hive.Job jobDto) { 2024 return base.Channel.AddJob(jobDto); 2025 } 2026 2027 public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) { 2028 base.Channel.UpdateJob(jobDto); 2029 } 2030 2031 public void DeleteJob(System.Guid JobId) { 2032 base.Channel.DeleteJob(JobId); 2033 } 2034 2035 public void GrantPermission(System.Guid jobId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission) { 2036 base.Channel.GrantPermission(jobId, grantedUserId, permission); 2037 } 2038 2039 public void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId) { 2040 base.Channel.RevokePermission(hiveExperimentId, grantedUserId); 2041 } 2042 2043 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.JobPermission> GetJobPermissions(System.Guid jobId) { 2044 return base.Channel.GetJobPermissions(jobId); 2045 } 2046 2047 public bool IsAllowedPrivileged() { 2048 return base.Channel.IsAllowedPrivileged(); 2049 } 2050 2051 public void Hello(HeuristicLab.Clients.Hive.Slave slave) { 2052 base.Channel.Hello(slave); 2053 } 2054 2055 public void GoodBye(System.Guid slaveId) { 2056 base.Channel.GoodBye(slaveId); 2057 } 2058 1782 2059 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat(HeuristicLab.Clients.Hive.Heartbeat heartbeat1) { 1783 2060 return base.Channel.Heartbeat(heartbeat1); … … 1808 2085 } 1809 2086 2087 public void GrantResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds) { 2088 base.Channel.GrantResourcePermissions(resourceId, grantedUserIds); 2089 } 2090 2091 public void RevokeResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds) { 2092 base.Channel.RevokeResourcePermissions(resourceId, grantedUserIds); 2093 } 2094 2095 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetResourcePermissions(System.Guid resourceId) { 2096 return base.Channel.GetResourcePermissions(resourceId); 2097 } 2098 1810 2099 public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) { 1811 2100 return base.Channel.AddSlave(slave); … … 1823 2112 return base.Channel.GetSlaveGroup(slaveGroupId); 1824 2113 } 1825 1826 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() {1827 return base.Channel.GetSlaves();1828 }1829 1830 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() {1831 return base.Channel.GetSlaveGroups();1832 }1833 1834 public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) {1835 base.Channel.UpdateSlave(slave);1836 }1837 1838 public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) {1839 base.Channel.UpdateSlaveGroup(slaveGroup);1840 }1841 1842 public void DeleteSlave(System.Guid slaveId) {1843 base.Channel.DeleteSlave(slaveId);1844 }1845 1846 public void DeleteSlaveGroup(System.Guid slaveGroupId) {1847 base.Channel.DeleteSlaveGroup(slaveGroupId);1848 }1849 1850 public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) {1851 base.Channel.AddResourceToGroup(slaveGroupId, resourceId);1852 }1853 1854 public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) {1855 base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId);1856 }1857 1858 public System.Guid GetResourceId(string resourceName) {1859 return base.Channel.GetResourceId(resourceName);1860 }1861 1862 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasksByResourceId(System.Guid resourceId) {1863 return base.Channel.GetTasksByResourceId(resourceId);1864 }1865 1866 public void TriggerEventManager(bool force) {1867 base.Channel.TriggerEventManager(force);1868 }1869 1870 public int GetNewHeartbeatInterval(System.Guid slaveId) {1871 return base.Channel.GetNewHeartbeatInterval(slaveId);1872 }1873 1874 public System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {1875 return base.Channel.AddDowntime(downtime);1876 }1877 1878 public void DeleteDowntime(System.Guid downtimeId) {1879 base.Channel.DeleteDowntime(downtimeId);1880 }1881 1882 public void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {1883 base.Channel.UpdateDowntime(downtime);1884 }1885 1886 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId) {1887 return base.Channel.GetDowntimesForResource(resourceId);1888 }1889 1890 public string GetUsernameByUserId(System.Guid userId) {1891 return base.Channel.GetUsernameByUserId(userId);1892 }1893 1894 public System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds) {1895 return base.Channel.AddTask(task, taskData, resourceIds);1896 }1897 1898 public System.Guid AddChildTask(System.Guid parentTaskId, HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData) {1899 return base.Channel.AddChildTask(parentTaskId, task, taskData);1900 }1901 1902 public HeuristicLab.Clients.Hive.Task GetTask(System.Guid taskId) {1903 return base.Channel.GetTask(taskId);1904 }1905 1906 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasks() {1907 return base.Channel.GetTasks();1908 }1909 1910 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightTasks(System.Collections.Generic.List<System.Guid> taskIds) {1911 return base.Channel.GetLightweightTasks(taskIds);1912 }1913 1914 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightChildTasks(System.Nullable<System.Guid> parentTaskId, bool recursive, bool includeParent) {1915 return base.Channel.GetLightweightChildTasks(parentTaskId, recursive, includeParent);1916 }1917 1918 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightJobTasks(System.Guid jobId) {1919 return base.Channel.GetLightweightJobTasks(jobId);1920 }1921 1922 public HeuristicLab.Clients.Hive.TaskData GetTaskData(System.Guid taskId) {1923 return base.Channel.GetTaskData(taskId);1924 }1925 1926 public void UpdateTask(HeuristicLab.Clients.Hive.Task taskDto) {1927 base.Channel.UpdateTask(taskDto);1928 }1929 1930 public void UpdateTaskData(HeuristicLab.Clients.Hive.Task taskDto, HeuristicLab.Clients.Hive.TaskData taskDataDto) {1931 base.Channel.UpdateTaskData(taskDto, taskDataDto);1932 }1933 1934 public void DeleteTask(System.Guid taskId) {1935 base.Channel.DeleteTask(taskId);1936 }1937 1938 public void DeleteChildTasks(System.Guid parentTaskId) {1939 base.Channel.DeleteChildTasks(parentTaskId);1940 }1941 1942 public HeuristicLab.Clients.Hive.Task UpdateTaskState(System.Guid taskId, HeuristicLab.Clients.Hive.TaskState taskState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception) {1943 return base.Channel.UpdateTaskState(taskId, taskState, slaveId, userId, exception);1944 }1945 1946 public void StopTask(System.Guid taskId) {1947 base.Channel.StopTask(taskId);1948 }1949 1950 public void PauseTask(System.Guid taskId) {1951 base.Channel.PauseTask(taskId);1952 }1953 1954 public void RestartTask(System.Guid taskId) {1955 base.Channel.RestartTask(taskId);1956 }1957 1958 public HeuristicLab.Clients.Hive.Job GetJob(System.Guid id) {1959 return base.Channel.GetJob(id);1960 }1961 1962 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() {1963 return base.Channel.GetJobs();1964 }1965 1966 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetAllJobs() {1967 return base.Channel.GetAllJobs();1968 }1969 1970 public System.Guid AddJob(HeuristicLab.Clients.Hive.Job jobDto) {1971 return base.Channel.AddJob(jobDto);1972 }1973 1974 public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) {1975 base.Channel.UpdateJob(jobDto);1976 }1977 1978 public void DeleteJob(System.Guid JobId) {1979 base.Channel.DeleteJob(JobId);1980 }1981 1982 public void GrantPermission(System.Guid jobId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission) {1983 base.Channel.GrantPermission(jobId, grantedUserId, permission);1984 }1985 1986 public void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId) {1987 base.Channel.RevokePermission(hiveExperimentId, grantedUserId);1988 }1989 1990 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.JobPermission> GetJobPermissions(System.Guid jobId) {1991 return base.Channel.GetJobPermissions(jobId);1992 }1993 1994 public bool IsAllowedPrivileged() {1995 return base.Channel.IsAllowedPrivileged();1996 }1997 1998 public void Hello(HeuristicLab.Clients.Hive.Slave slave) {1999 base.Channel.Hello(slave);2000 }2001 2002 public void GoodBye(System.Guid slaveId) {2003 base.Channel.GoodBye(slaveId);2004 }2005 2114 } 2006 2115 }
Note: See TracChangeset
for help on using the changeset viewer.