[4259] | 1 | //------------------------------------------------------------------------------
|
---|
| 2 | // <auto-generated>
|
---|
| 3 | // This code was generated by a tool.
|
---|
| 4 | // Runtime Version:4.0.30319.1
|
---|
| 5 | //
|
---|
| 6 | // Changes to this file may cause incorrect behavior and will be lost if
|
---|
| 7 | // the code is regenerated.
|
---|
| 8 | // </auto-generated>
|
---|
| 9 | //------------------------------------------------------------------------------
|
---|
| 10 |
|
---|
| 11 | namespace HeuristicLab.Hive.Slave.Console.SlaveService {
|
---|
| 12 | using System.Runtime.Serialization;
|
---|
| 13 | using System;
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 17 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 18 | [System.Runtime.Serialization.DataContractAttribute(Name="StatusCommons", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Slave.Core.ClientConsol" +
|
---|
| 19 | "eService")]
|
---|
| 20 | [System.SerializableAttribute()]
|
---|
| 21 | public partial class StatusCommons : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
---|
| 22 |
|
---|
| 23 | [System.NonSerializedAttribute()]
|
---|
| 24 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
---|
| 25 |
|
---|
| 26 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 27 | private System.Guid ClientGuidField;
|
---|
| 28 |
|
---|
| 29 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 30 | private System.DateTime ConnectedSinceField;
|
---|
| 31 |
|
---|
| 32 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 33 | private int FreeCoresField;
|
---|
| 34 |
|
---|
| 35 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 36 | private HeuristicLab.Hive.Slave.Console.SlaveService.JobStatus[] JobsField;
|
---|
| 37 |
|
---|
| 38 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 39 | private int JobsAbortedField;
|
---|
| 40 |
|
---|
| 41 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 42 | private int JobsDoneField;
|
---|
| 43 |
|
---|
| 44 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 45 | private int JobsFetchedField;
|
---|
| 46 |
|
---|
| 47 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 48 | private HeuristicLab.Hive.Slave.Console.SlaveService.NetworkEnumWcfConnState StatusField;
|
---|
| 49 |
|
---|
| 50 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 51 | private int TotalCoresField;
|
---|
| 52 |
|
---|
| 53 | [global::System.ComponentModel.BrowsableAttribute(false)]
|
---|
| 54 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
---|
| 55 | get {
|
---|
| 56 | return this.extensionDataField;
|
---|
| 57 | }
|
---|
| 58 | set {
|
---|
| 59 | this.extensionDataField = value;
|
---|
| 60 | }
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 64 | public System.Guid ClientGuid {
|
---|
| 65 | get {
|
---|
| 66 | return this.ClientGuidField;
|
---|
| 67 | }
|
---|
| 68 | set {
|
---|
| 69 | if ((this.ClientGuidField.Equals(value) != true)) {
|
---|
| 70 | this.ClientGuidField = value;
|
---|
| 71 | this.RaisePropertyChanged("ClientGuid");
|
---|
| 72 | }
|
---|
| 73 | }
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 77 | public System.DateTime ConnectedSince {
|
---|
| 78 | get {
|
---|
| 79 | return this.ConnectedSinceField;
|
---|
| 80 | }
|
---|
| 81 | set {
|
---|
| 82 | if ((this.ConnectedSinceField.Equals(value) != true)) {
|
---|
| 83 | this.ConnectedSinceField = value;
|
---|
| 84 | this.RaisePropertyChanged("ConnectedSince");
|
---|
| 85 | }
|
---|
| 86 | }
|
---|
| 87 | }
|
---|
| 88 |
|
---|
| 89 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 90 | public int FreeCores {
|
---|
| 91 | get {
|
---|
| 92 | return this.FreeCoresField;
|
---|
| 93 | }
|
---|
| 94 | set {
|
---|
| 95 | if ((this.FreeCoresField.Equals(value) != true)) {
|
---|
| 96 | this.FreeCoresField = value;
|
---|
| 97 | this.RaisePropertyChanged("FreeCores");
|
---|
| 98 | }
|
---|
| 99 | }
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 103 | public HeuristicLab.Hive.Slave.Console.SlaveService.JobStatus[] Jobs {
|
---|
| 104 | get {
|
---|
| 105 | return this.JobsField;
|
---|
| 106 | }
|
---|
| 107 | set {
|
---|
| 108 | if ((object.ReferenceEquals(this.JobsField, value) != true)) {
|
---|
| 109 | this.JobsField = value;
|
---|
| 110 | this.RaisePropertyChanged("Jobs");
|
---|
| 111 | }
|
---|
| 112 | }
|
---|
| 113 | }
|
---|
| 114 |
|
---|
| 115 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 116 | public int JobsAborted {
|
---|
| 117 | get {
|
---|
| 118 | return this.JobsAbortedField;
|
---|
| 119 | }
|
---|
| 120 | set {
|
---|
| 121 | if ((this.JobsAbortedField.Equals(value) != true)) {
|
---|
| 122 | this.JobsAbortedField = value;
|
---|
| 123 | this.RaisePropertyChanged("JobsAborted");
|
---|
| 124 | }
|
---|
| 125 | }
|
---|
| 126 | }
|
---|
| 127 |
|
---|
| 128 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 129 | public int JobsDone {
|
---|
| 130 | get {
|
---|
| 131 | return this.JobsDoneField;
|
---|
| 132 | }
|
---|
| 133 | set {
|
---|
| 134 | if ((this.JobsDoneField.Equals(value) != true)) {
|
---|
| 135 | this.JobsDoneField = value;
|
---|
| 136 | this.RaisePropertyChanged("JobsDone");
|
---|
| 137 | }
|
---|
| 138 | }
|
---|
| 139 | }
|
---|
| 140 |
|
---|
| 141 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 142 | public int JobsFetched {
|
---|
| 143 | get {
|
---|
| 144 | return this.JobsFetchedField;
|
---|
| 145 | }
|
---|
| 146 | set {
|
---|
| 147 | if ((this.JobsFetchedField.Equals(value) != true)) {
|
---|
| 148 | this.JobsFetchedField = value;
|
---|
| 149 | this.RaisePropertyChanged("JobsFetched");
|
---|
| 150 | }
|
---|
| 151 | }
|
---|
| 152 | }
|
---|
| 153 |
|
---|
| 154 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 155 | public HeuristicLab.Hive.Slave.Console.SlaveService.NetworkEnumWcfConnState Status {
|
---|
| 156 | get {
|
---|
| 157 | return this.StatusField;
|
---|
| 158 | }
|
---|
| 159 | set {
|
---|
| 160 | if ((this.StatusField.Equals(value) != true)) {
|
---|
| 161 | this.StatusField = value;
|
---|
| 162 | this.RaisePropertyChanged("Status");
|
---|
| 163 | }
|
---|
| 164 | }
|
---|
| 165 | }
|
---|
| 166 |
|
---|
| 167 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 168 | public int TotalCores {
|
---|
| 169 | get {
|
---|
| 170 | return this.TotalCoresField;
|
---|
| 171 | }
|
---|
| 172 | set {
|
---|
| 173 | if ((this.TotalCoresField.Equals(value) != true)) {
|
---|
| 174 | this.TotalCoresField = value;
|
---|
| 175 | this.RaisePropertyChanged("TotalCores");
|
---|
| 176 | }
|
---|
| 177 | }
|
---|
| 178 | }
|
---|
| 179 |
|
---|
| 180 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
---|
| 181 |
|
---|
| 182 | protected void RaisePropertyChanged(string propertyName) {
|
---|
| 183 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
---|
| 184 | if ((propertyChanged != null)) {
|
---|
| 185 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
---|
| 186 | }
|
---|
| 187 | }
|
---|
| 188 | }
|
---|
| 189 |
|
---|
| 190 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 191 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 192 | [System.Runtime.Serialization.DataContractAttribute(Name="JobStatus", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Slave.Core.ClientConsol" +
|
---|
| 193 | "eService")]
|
---|
| 194 | [System.SerializableAttribute()]
|
---|
| 195 | public partial class JobStatus : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
---|
| 196 |
|
---|
| 197 | [System.NonSerializedAttribute()]
|
---|
| 198 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
---|
| 199 |
|
---|
| 200 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 201 | private System.Guid JobIdField;
|
---|
| 202 |
|
---|
| 203 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 204 | private double ProgressField;
|
---|
| 205 |
|
---|
| 206 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 207 | private System.DateTime SinceField;
|
---|
| 208 |
|
---|
| 209 | [global::System.ComponentModel.BrowsableAttribute(false)]
|
---|
| 210 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
---|
| 211 | get {
|
---|
| 212 | return this.extensionDataField;
|
---|
| 213 | }
|
---|
| 214 | set {
|
---|
| 215 | this.extensionDataField = value;
|
---|
| 216 | }
|
---|
| 217 | }
|
---|
| 218 |
|
---|
| 219 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 220 | public System.Guid JobId {
|
---|
| 221 | get {
|
---|
| 222 | return this.JobIdField;
|
---|
| 223 | }
|
---|
| 224 | set {
|
---|
| 225 | if ((this.JobIdField.Equals(value) != true)) {
|
---|
| 226 | this.JobIdField = value;
|
---|
| 227 | this.RaisePropertyChanged("JobId");
|
---|
| 228 | }
|
---|
| 229 | }
|
---|
| 230 | }
|
---|
| 231 |
|
---|
| 232 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 233 | public double Progress {
|
---|
| 234 | get {
|
---|
| 235 | return this.ProgressField;
|
---|
| 236 | }
|
---|
| 237 | set {
|
---|
| 238 | if ((this.ProgressField.Equals(value) != true)) {
|
---|
| 239 | this.ProgressField = value;
|
---|
| 240 | this.RaisePropertyChanged("Progress");
|
---|
| 241 | }
|
---|
| 242 | }
|
---|
| 243 | }
|
---|
| 244 |
|
---|
| 245 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 246 | public System.DateTime Since {
|
---|
| 247 | get {
|
---|
| 248 | return this.SinceField;
|
---|
| 249 | }
|
---|
| 250 | set {
|
---|
| 251 | if ((this.SinceField.Equals(value) != true)) {
|
---|
| 252 | this.SinceField = value;
|
---|
| 253 | this.RaisePropertyChanged("Since");
|
---|
| 254 | }
|
---|
| 255 | }
|
---|
| 256 | }
|
---|
| 257 |
|
---|
| 258 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
---|
| 259 |
|
---|
| 260 | protected void RaisePropertyChanged(string propertyName) {
|
---|
| 261 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
---|
| 262 | if ((propertyChanged != null)) {
|
---|
| 263 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
---|
| 264 | }
|
---|
| 265 | }
|
---|
| 266 | }
|
---|
| 267 |
|
---|
| 268 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 269 | [System.Runtime.Serialization.DataContractAttribute(Name="NetworkEnum.WcfConnState", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Slave.Common")]
|
---|
| 270 | public enum NetworkEnumWcfConnState : int {
|
---|
| 271 |
|
---|
| 272 | [System.Runtime.Serialization.EnumMemberAttribute()]
|
---|
| 273 | Connected = 0,
|
---|
| 274 |
|
---|
| 275 | [System.Runtime.Serialization.EnumMemberAttribute()]
|
---|
| 276 | Disconnected = 1,
|
---|
| 277 |
|
---|
| 278 | [System.Runtime.Serialization.EnumMemberAttribute()]
|
---|
| 279 | Failed = 2,
|
---|
| 280 |
|
---|
| 281 | [System.Runtime.Serialization.EnumMemberAttribute()]
|
---|
| 282 | Loggedin = 3,
|
---|
| 283 | }
|
---|
| 284 |
|
---|
| 285 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 286 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 287 | [System.Runtime.Serialization.DataContractAttribute(Name="ConnectionContainer", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Slave.Core.ClientConsol" +
|
---|
| 288 | "eService")]
|
---|
| 289 | [System.SerializableAttribute()]
|
---|
| 290 | public partial class ConnectionContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
---|
| 291 |
|
---|
| 292 | [System.NonSerializedAttribute()]
|
---|
| 293 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
---|
| 294 |
|
---|
| 295 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 296 | private string IPAdressField;
|
---|
| 297 |
|
---|
| 298 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
| 299 | private int PortField;
|
---|
| 300 |
|
---|
| 301 | [global::System.ComponentModel.BrowsableAttribute(false)]
|
---|
| 302 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
---|
| 303 | get {
|
---|
| 304 | return this.extensionDataField;
|
---|
| 305 | }
|
---|
| 306 | set {
|
---|
| 307 | this.extensionDataField = value;
|
---|
| 308 | }
|
---|
| 309 | }
|
---|
| 310 |
|
---|
| 311 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 312 | public string IPAdress {
|
---|
| 313 | get {
|
---|
| 314 | return this.IPAdressField;
|
---|
| 315 | }
|
---|
| 316 | set {
|
---|
| 317 | if ((object.ReferenceEquals(this.IPAdressField, value) != true)) {
|
---|
| 318 | this.IPAdressField = value;
|
---|
| 319 | this.RaisePropertyChanged("IPAdress");
|
---|
| 320 | }
|
---|
| 321 | }
|
---|
| 322 | }
|
---|
| 323 |
|
---|
| 324 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 325 | public int Port {
|
---|
| 326 | get {
|
---|
| 327 | return this.PortField;
|
---|
| 328 | }
|
---|
| 329 | set {
|
---|
| 330 | if ((this.PortField.Equals(value) != true)) {
|
---|
| 331 | this.PortField = value;
|
---|
| 332 | this.RaisePropertyChanged("Port");
|
---|
| 333 | }
|
---|
| 334 | }
|
---|
| 335 | }
|
---|
| 336 |
|
---|
| 337 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
---|
| 338 |
|
---|
| 339 | protected void RaisePropertyChanged(string propertyName) {
|
---|
| 340 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
---|
| 341 | if ((propertyChanged != null)) {
|
---|
| 342 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
---|
| 343 | }
|
---|
| 344 | }
|
---|
| 345 | }
|
---|
| 346 |
|
---|
| 347 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 348 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SlaveService.ISlaveConsoleCommunicator")]
|
---|
| 349 | public interface ISlaveConsoleCommunicator {
|
---|
| 350 |
|
---|
| 351 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfosResponse")]
|
---|
| 352 | HeuristicLab.Hive.Slave.Console.SlaveService.StatusCommons GetStatusInfos();
|
---|
| 353 |
|
---|
| 354 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfosResponse")]
|
---|
| 355 | System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState);
|
---|
| 356 |
|
---|
| 357 | HeuristicLab.Hive.Slave.Console.SlaveService.StatusCommons EndGetStatusInfos(System.IAsyncResult result);
|
---|
| 358 |
|
---|
| 359 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetConnectionResponse")]
|
---|
| 360 | void SetConnection(HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer container);
|
---|
| 361 |
|
---|
| 362 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetConnectionResponse")]
|
---|
| 363 | System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer container, System.AsyncCallback callback, object asyncState);
|
---|
| 364 |
|
---|
| 365 | void EndSetConnection(System.IAsyncResult result);
|
---|
| 366 |
|
---|
| 367 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/DisconnectResponse")]
|
---|
| 368 | void Disconnect();
|
---|
| 369 |
|
---|
| 370 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/DisconnectResponse")]
|
---|
| 371 | System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState);
|
---|
| 372 |
|
---|
| 373 | void EndDisconnect(System.IAsyncResult result);
|
---|
| 374 |
|
---|
| 375 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnectionResponse")]
|
---|
| 376 | HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer GetCurrentConnection();
|
---|
| 377 |
|
---|
| 378 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnectionResponse")]
|
---|
| 379 | System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState);
|
---|
| 380 |
|
---|
| 381 | HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result);
|
---|
| 382 |
|
---|
| 383 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClientResponse")]
|
---|
| 384 | void ShutdownClient();
|
---|
| 385 |
|
---|
| 386 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClientResponse")]
|
---|
| 387 | System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState);
|
---|
| 388 |
|
---|
| 389 | void EndShutdownClient(System.IAsyncResult result);
|
---|
| 390 |
|
---|
| 391 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendarResponse")]
|
---|
| 392 | void SetUptimeCalendar(HeuristicLab.Calendar.Appointment[] appointments);
|
---|
| 393 |
|
---|
| 394 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendarResponse")]
|
---|
| 395 | System.IAsyncResult BeginSetUptimeCalendar(HeuristicLab.Calendar.Appointment[] appointments, System.AsyncCallback callback, object asyncState);
|
---|
| 396 |
|
---|
| 397 | void EndSetUptimeCalendar(System.IAsyncResult result);
|
---|
| 398 |
|
---|
| 399 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendarResponse")]
|
---|
| 400 | HeuristicLab.Calendar.Appointment[] GetUptimeCalendar();
|
---|
| 401 |
|
---|
| 402 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendarResponse")]
|
---|
| 403 | System.IAsyncResult BeginGetUptimeCalendar(System.AsyncCallback callback, object asyncState);
|
---|
| 404 |
|
---|
| 405 | HeuristicLab.Calendar.Appointment[] EndGetUptimeCalendar(System.IAsyncResult result);
|
---|
| 406 | }
|
---|
| 407 |
|
---|
| 408 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 409 | public interface ISlaveConsoleCommunicatorChannel : HeuristicLab.Hive.Slave.Console.SlaveService.ISlaveConsoleCommunicator, System.ServiceModel.IClientChannel {
|
---|
| 410 | }
|
---|
| 411 |
|
---|
| 412 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 413 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 414 | public partial class GetStatusInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
| 415 |
|
---|
| 416 | private object[] results;
|
---|
| 417 |
|
---|
| 418 | public GetStatusInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
| 419 | base(exception, cancelled, userState) {
|
---|
| 420 | this.results = results;
|
---|
| 421 | }
|
---|
| 422 |
|
---|
| 423 | public HeuristicLab.Hive.Slave.Console.SlaveService.StatusCommons Result {
|
---|
| 424 | get {
|
---|
| 425 | base.RaiseExceptionIfNecessary();
|
---|
| 426 | return ((HeuristicLab.Hive.Slave.Console.SlaveService.StatusCommons)(this.results[0]));
|
---|
| 427 | }
|
---|
| 428 | }
|
---|
| 429 | }
|
---|
| 430 |
|
---|
| 431 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 432 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 433 | public partial class GetCurrentConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
| 434 |
|
---|
| 435 | private object[] results;
|
---|
| 436 |
|
---|
| 437 | public GetCurrentConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
| 438 | base(exception, cancelled, userState) {
|
---|
| 439 | this.results = results;
|
---|
| 440 | }
|
---|
| 441 |
|
---|
| 442 | public HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer Result {
|
---|
| 443 | get {
|
---|
| 444 | base.RaiseExceptionIfNecessary();
|
---|
| 445 | return ((HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer)(this.results[0]));
|
---|
| 446 | }
|
---|
| 447 | }
|
---|
| 448 | }
|
---|
| 449 |
|
---|
| 450 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 451 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 452 | public partial class GetUptimeCalendarCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
| 453 |
|
---|
| 454 | private object[] results;
|
---|
| 455 |
|
---|
| 456 | public GetUptimeCalendarCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
| 457 | base(exception, cancelled, userState) {
|
---|
| 458 | this.results = results;
|
---|
| 459 | }
|
---|
| 460 |
|
---|
| 461 | public HeuristicLab.Calendar.Appointment[] Result {
|
---|
| 462 | get {
|
---|
| 463 | base.RaiseExceptionIfNecessary();
|
---|
| 464 | return ((HeuristicLab.Calendar.Appointment[])(this.results[0]));
|
---|
| 465 | }
|
---|
| 466 | }
|
---|
| 467 | }
|
---|
| 468 |
|
---|
| 469 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 470 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 471 | public partial class SlaveConsoleCommunicatorClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Slave.Console.SlaveService.ISlaveConsoleCommunicator>, HeuristicLab.Hive.Slave.Console.SlaveService.ISlaveConsoleCommunicator {
|
---|
| 472 |
|
---|
| 473 | private BeginOperationDelegate onBeginGetStatusInfosDelegate;
|
---|
| 474 |
|
---|
| 475 | private EndOperationDelegate onEndGetStatusInfosDelegate;
|
---|
| 476 |
|
---|
| 477 | private System.Threading.SendOrPostCallback onGetStatusInfosCompletedDelegate;
|
---|
| 478 |
|
---|
| 479 | private BeginOperationDelegate onBeginSetConnectionDelegate;
|
---|
| 480 |
|
---|
| 481 | private EndOperationDelegate onEndSetConnectionDelegate;
|
---|
| 482 |
|
---|
| 483 | private System.Threading.SendOrPostCallback onSetConnectionCompletedDelegate;
|
---|
| 484 |
|
---|
| 485 | private BeginOperationDelegate onBeginDisconnectDelegate;
|
---|
| 486 |
|
---|
| 487 | private EndOperationDelegate onEndDisconnectDelegate;
|
---|
| 488 |
|
---|
| 489 | private System.Threading.SendOrPostCallback onDisconnectCompletedDelegate;
|
---|
| 490 |
|
---|
| 491 | private BeginOperationDelegate onBeginGetCurrentConnectionDelegate;
|
---|
| 492 |
|
---|
| 493 | private EndOperationDelegate onEndGetCurrentConnectionDelegate;
|
---|
| 494 |
|
---|
| 495 | private System.Threading.SendOrPostCallback onGetCurrentConnectionCompletedDelegate;
|
---|
| 496 |
|
---|
| 497 | private BeginOperationDelegate onBeginShutdownClientDelegate;
|
---|
| 498 |
|
---|
| 499 | private EndOperationDelegate onEndShutdownClientDelegate;
|
---|
| 500 |
|
---|
| 501 | private System.Threading.SendOrPostCallback onShutdownClientCompletedDelegate;
|
---|
| 502 |
|
---|
| 503 | private BeginOperationDelegate onBeginSetUptimeCalendarDelegate;
|
---|
| 504 |
|
---|
| 505 | private EndOperationDelegate onEndSetUptimeCalendarDelegate;
|
---|
| 506 |
|
---|
| 507 | private System.Threading.SendOrPostCallback onSetUptimeCalendarCompletedDelegate;
|
---|
| 508 |
|
---|
| 509 | private BeginOperationDelegate onBeginGetUptimeCalendarDelegate;
|
---|
| 510 |
|
---|
| 511 | private EndOperationDelegate onEndGetUptimeCalendarDelegate;
|
---|
| 512 |
|
---|
| 513 | private System.Threading.SendOrPostCallback onGetUptimeCalendarCompletedDelegate;
|
---|
| 514 |
|
---|
| 515 | public SlaveConsoleCommunicatorClient() {
|
---|
| 516 | }
|
---|
| 517 |
|
---|
| 518 | public SlaveConsoleCommunicatorClient(string endpointConfigurationName) :
|
---|
| 519 | base(endpointConfigurationName) {
|
---|
| 520 | }
|
---|
| 521 |
|
---|
| 522 | public SlaveConsoleCommunicatorClient(string endpointConfigurationName, string remoteAddress) :
|
---|
| 523 | base(endpointConfigurationName, remoteAddress) {
|
---|
| 524 | }
|
---|
| 525 |
|
---|
| 526 | public SlaveConsoleCommunicatorClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 527 | base(endpointConfigurationName, remoteAddress) {
|
---|
| 528 | }
|
---|
| 529 |
|
---|
| 530 | public SlaveConsoleCommunicatorClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 531 | base(binding, remoteAddress) {
|
---|
| 532 | }
|
---|
| 533 |
|
---|
| 534 | public event System.EventHandler<GetStatusInfosCompletedEventArgs> GetStatusInfosCompleted;
|
---|
| 535 |
|
---|
| 536 | public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetConnectionCompleted;
|
---|
| 537 |
|
---|
| 538 | public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DisconnectCompleted;
|
---|
| 539 |
|
---|
| 540 | public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted;
|
---|
| 541 |
|
---|
| 542 | public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ShutdownClientCompleted;
|
---|
| 543 |
|
---|
| 544 | public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetUptimeCalendarCompleted;
|
---|
| 545 |
|
---|
| 546 | public event System.EventHandler<GetUptimeCalendarCompletedEventArgs> GetUptimeCalendarCompleted;
|
---|
| 547 |
|
---|
| 548 | public HeuristicLab.Hive.Slave.Console.SlaveService.StatusCommons GetStatusInfos() {
|
---|
| 549 | return base.Channel.GetStatusInfos();
|
---|
| 550 | }
|
---|
| 551 |
|
---|
| 552 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 553 | public System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState) {
|
---|
| 554 | return base.Channel.BeginGetStatusInfos(callback, asyncState);
|
---|
| 555 | }
|
---|
| 556 |
|
---|
| 557 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 558 | public HeuristicLab.Hive.Slave.Console.SlaveService.StatusCommons EndGetStatusInfos(System.IAsyncResult result) {
|
---|
| 559 | return base.Channel.EndGetStatusInfos(result);
|
---|
| 560 | }
|
---|
| 561 |
|
---|
| 562 | private System.IAsyncResult OnBeginGetStatusInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
| 563 | return this.BeginGetStatusInfos(callback, asyncState);
|
---|
| 564 | }
|
---|
| 565 |
|
---|
| 566 | private object[] OnEndGetStatusInfos(System.IAsyncResult result) {
|
---|
| 567 | HeuristicLab.Hive.Slave.Console.SlaveService.StatusCommons retVal = this.EndGetStatusInfos(result);
|
---|
| 568 | return new object[] {
|
---|
| 569 | retVal};
|
---|
| 570 | }
|
---|
| 571 |
|
---|
| 572 | private void OnGetStatusInfosCompleted(object state) {
|
---|
| 573 | if ((this.GetStatusInfosCompleted != null)) {
|
---|
| 574 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
| 575 | this.GetStatusInfosCompleted(this, new GetStatusInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
| 576 | }
|
---|
| 577 | }
|
---|
| 578 |
|
---|
| 579 | public void GetStatusInfosAsync() {
|
---|
| 580 | this.GetStatusInfosAsync(null);
|
---|
| 581 | }
|
---|
| 582 |
|
---|
| 583 | public void GetStatusInfosAsync(object userState) {
|
---|
| 584 | if ((this.onBeginGetStatusInfosDelegate == null)) {
|
---|
| 585 | this.onBeginGetStatusInfosDelegate = new BeginOperationDelegate(this.OnBeginGetStatusInfos);
|
---|
| 586 | }
|
---|
| 587 | if ((this.onEndGetStatusInfosDelegate == null)) {
|
---|
| 588 | this.onEndGetStatusInfosDelegate = new EndOperationDelegate(this.OnEndGetStatusInfos);
|
---|
| 589 | }
|
---|
| 590 | if ((this.onGetStatusInfosCompletedDelegate == null)) {
|
---|
| 591 | this.onGetStatusInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusInfosCompleted);
|
---|
| 592 | }
|
---|
| 593 | base.InvokeAsync(this.onBeginGetStatusInfosDelegate, null, this.onEndGetStatusInfosDelegate, this.onGetStatusInfosCompletedDelegate, userState);
|
---|
| 594 | }
|
---|
| 595 |
|
---|
| 596 | public void SetConnection(HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer container) {
|
---|
| 597 | base.Channel.SetConnection(container);
|
---|
| 598 | }
|
---|
| 599 |
|
---|
| 600 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 601 | public System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer container, System.AsyncCallback callback, object asyncState) {
|
---|
| 602 | return base.Channel.BeginSetConnection(container, callback, asyncState);
|
---|
| 603 | }
|
---|
| 604 |
|
---|
| 605 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 606 | public void EndSetConnection(System.IAsyncResult result) {
|
---|
| 607 | base.Channel.EndSetConnection(result);
|
---|
| 608 | }
|
---|
| 609 |
|
---|
| 610 | private System.IAsyncResult OnBeginSetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
| 611 | HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer container = ((HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer)(inValues[0]));
|
---|
| 612 | return this.BeginSetConnection(container, callback, asyncState);
|
---|
| 613 | }
|
---|
| 614 |
|
---|
| 615 | private object[] OnEndSetConnection(System.IAsyncResult result) {
|
---|
| 616 | this.EndSetConnection(result);
|
---|
| 617 | return null;
|
---|
| 618 | }
|
---|
| 619 |
|
---|
| 620 | private void OnSetConnectionCompleted(object state) {
|
---|
| 621 | if ((this.SetConnectionCompleted != null)) {
|
---|
| 622 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
| 623 | this.SetConnectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
|
---|
| 624 | }
|
---|
| 625 | }
|
---|
| 626 |
|
---|
| 627 | public void SetConnectionAsync(HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer container) {
|
---|
| 628 | this.SetConnectionAsync(container, null);
|
---|
| 629 | }
|
---|
| 630 |
|
---|
| 631 | public void SetConnectionAsync(HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer container, object userState) {
|
---|
| 632 | if ((this.onBeginSetConnectionDelegate == null)) {
|
---|
| 633 | this.onBeginSetConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetConnection);
|
---|
| 634 | }
|
---|
| 635 | if ((this.onEndSetConnectionDelegate == null)) {
|
---|
| 636 | this.onEndSetConnectionDelegate = new EndOperationDelegate(this.OnEndSetConnection);
|
---|
| 637 | }
|
---|
| 638 | if ((this.onSetConnectionCompletedDelegate == null)) {
|
---|
| 639 | this.onSetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConnectionCompleted);
|
---|
| 640 | }
|
---|
| 641 | base.InvokeAsync(this.onBeginSetConnectionDelegate, new object[] {
|
---|
| 642 | container}, this.onEndSetConnectionDelegate, this.onSetConnectionCompletedDelegate, userState);
|
---|
| 643 | }
|
---|
| 644 |
|
---|
| 645 | public void Disconnect() {
|
---|
| 646 | base.Channel.Disconnect();
|
---|
| 647 | }
|
---|
| 648 |
|
---|
| 649 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 650 | public System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState) {
|
---|
| 651 | return base.Channel.BeginDisconnect(callback, asyncState);
|
---|
| 652 | }
|
---|
| 653 |
|
---|
| 654 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 655 | public void EndDisconnect(System.IAsyncResult result) {
|
---|
| 656 | base.Channel.EndDisconnect(result);
|
---|
| 657 | }
|
---|
| 658 |
|
---|
| 659 | private System.IAsyncResult OnBeginDisconnect(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
| 660 | return this.BeginDisconnect(callback, asyncState);
|
---|
| 661 | }
|
---|
| 662 |
|
---|
| 663 | private object[] OnEndDisconnect(System.IAsyncResult result) {
|
---|
| 664 | this.EndDisconnect(result);
|
---|
| 665 | return null;
|
---|
| 666 | }
|
---|
| 667 |
|
---|
| 668 | private void OnDisconnectCompleted(object state) {
|
---|
| 669 | if ((this.DisconnectCompleted != null)) {
|
---|
| 670 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
| 671 | this.DisconnectCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
|
---|
| 672 | }
|
---|
| 673 | }
|
---|
| 674 |
|
---|
| 675 | public void DisconnectAsync() {
|
---|
| 676 | this.DisconnectAsync(null);
|
---|
| 677 | }
|
---|
| 678 |
|
---|
| 679 | public void DisconnectAsync(object userState) {
|
---|
| 680 | if ((this.onBeginDisconnectDelegate == null)) {
|
---|
| 681 | this.onBeginDisconnectDelegate = new BeginOperationDelegate(this.OnBeginDisconnect);
|
---|
| 682 | }
|
---|
| 683 | if ((this.onEndDisconnectDelegate == null)) {
|
---|
| 684 | this.onEndDisconnectDelegate = new EndOperationDelegate(this.OnEndDisconnect);
|
---|
| 685 | }
|
---|
| 686 | if ((this.onDisconnectCompletedDelegate == null)) {
|
---|
| 687 | this.onDisconnectCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisconnectCompleted);
|
---|
| 688 | }
|
---|
| 689 | base.InvokeAsync(this.onBeginDisconnectDelegate, null, this.onEndDisconnectDelegate, this.onDisconnectCompletedDelegate, userState);
|
---|
| 690 | }
|
---|
| 691 |
|
---|
| 692 | public HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer GetCurrentConnection() {
|
---|
| 693 | return base.Channel.GetCurrentConnection();
|
---|
| 694 | }
|
---|
| 695 |
|
---|
| 696 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 697 | public System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState) {
|
---|
| 698 | return base.Channel.BeginGetCurrentConnection(callback, asyncState);
|
---|
| 699 | }
|
---|
| 700 |
|
---|
| 701 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 702 | public HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result) {
|
---|
| 703 | return base.Channel.EndGetCurrentConnection(result);
|
---|
| 704 | }
|
---|
| 705 |
|
---|
| 706 | private System.IAsyncResult OnBeginGetCurrentConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
| 707 | return this.BeginGetCurrentConnection(callback, asyncState);
|
---|
| 708 | }
|
---|
| 709 |
|
---|
| 710 | private object[] OnEndGetCurrentConnection(System.IAsyncResult result) {
|
---|
| 711 | HeuristicLab.Hive.Slave.Console.SlaveService.ConnectionContainer retVal = this.EndGetCurrentConnection(result);
|
---|
| 712 | return new object[] {
|
---|
| 713 | retVal};
|
---|
| 714 | }
|
---|
| 715 |
|
---|
| 716 | private void OnGetCurrentConnectionCompleted(object state) {
|
---|
| 717 | if ((this.GetCurrentConnectionCompleted != null)) {
|
---|
| 718 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
| 719 | this.GetCurrentConnectionCompleted(this, new GetCurrentConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
| 720 | }
|
---|
| 721 | }
|
---|
| 722 |
|
---|
| 723 | public void GetCurrentConnectionAsync() {
|
---|
| 724 | this.GetCurrentConnectionAsync(null);
|
---|
| 725 | }
|
---|
| 726 |
|
---|
| 727 | public void GetCurrentConnectionAsync(object userState) {
|
---|
| 728 | if ((this.onBeginGetCurrentConnectionDelegate == null)) {
|
---|
| 729 | this.onBeginGetCurrentConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetCurrentConnection);
|
---|
| 730 | }
|
---|
| 731 | if ((this.onEndGetCurrentConnectionDelegate == null)) {
|
---|
| 732 | this.onEndGetCurrentConnectionDelegate = new EndOperationDelegate(this.OnEndGetCurrentConnection);
|
---|
| 733 | }
|
---|
| 734 | if ((this.onGetCurrentConnectionCompletedDelegate == null)) {
|
---|
| 735 | this.onGetCurrentConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCurrentConnectionCompleted);
|
---|
| 736 | }
|
---|
| 737 | base.InvokeAsync(this.onBeginGetCurrentConnectionDelegate, null, this.onEndGetCurrentConnectionDelegate, this.onGetCurrentConnectionCompletedDelegate, userState);
|
---|
| 738 | }
|
---|
| 739 |
|
---|
| 740 | public void ShutdownClient() {
|
---|
| 741 | base.Channel.ShutdownClient();
|
---|
| 742 | }
|
---|
| 743 |
|
---|
| 744 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 745 | public System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState) {
|
---|
| 746 | return base.Channel.BeginShutdownClient(callback, asyncState);
|
---|
| 747 | }
|
---|
| 748 |
|
---|
| 749 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 750 | public void EndShutdownClient(System.IAsyncResult result) {
|
---|
| 751 | base.Channel.EndShutdownClient(result);
|
---|
| 752 | }
|
---|
| 753 |
|
---|
| 754 | private System.IAsyncResult OnBeginShutdownClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
| 755 | return this.BeginShutdownClient(callback, asyncState);
|
---|
| 756 | }
|
---|
| 757 |
|
---|
| 758 | private object[] OnEndShutdownClient(System.IAsyncResult result) {
|
---|
| 759 | this.EndShutdownClient(result);
|
---|
| 760 | return null;
|
---|
| 761 | }
|
---|
| 762 |
|
---|
| 763 | private void OnShutdownClientCompleted(object state) {
|
---|
| 764 | if ((this.ShutdownClientCompleted != null)) {
|
---|
| 765 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
| 766 | this.ShutdownClientCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
|
---|
| 767 | }
|
---|
| 768 | }
|
---|
| 769 |
|
---|
| 770 | public void ShutdownClientAsync() {
|
---|
| 771 | this.ShutdownClientAsync(null);
|
---|
| 772 | }
|
---|
| 773 |
|
---|
| 774 | public void ShutdownClientAsync(object userState) {
|
---|
| 775 | if ((this.onBeginShutdownClientDelegate == null)) {
|
---|
| 776 | this.onBeginShutdownClientDelegate = new BeginOperationDelegate(this.OnBeginShutdownClient);
|
---|
| 777 | }
|
---|
| 778 | if ((this.onEndShutdownClientDelegate == null)) {
|
---|
| 779 | this.onEndShutdownClientDelegate = new EndOperationDelegate(this.OnEndShutdownClient);
|
---|
| 780 | }
|
---|
| 781 | if ((this.onShutdownClientCompletedDelegate == null)) {
|
---|
| 782 | this.onShutdownClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutdownClientCompleted);
|
---|
| 783 | }
|
---|
| 784 | base.InvokeAsync(this.onBeginShutdownClientDelegate, null, this.onEndShutdownClientDelegate, this.onShutdownClientCompletedDelegate, userState);
|
---|
| 785 | }
|
---|
| 786 |
|
---|
| 787 | public void SetUptimeCalendar(HeuristicLab.Calendar.Appointment[] appointments) {
|
---|
| 788 | base.Channel.SetUptimeCalendar(appointments);
|
---|
| 789 | }
|
---|
| 790 |
|
---|
| 791 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 792 | public System.IAsyncResult BeginSetUptimeCalendar(HeuristicLab.Calendar.Appointment[] appointments, System.AsyncCallback callback, object asyncState) {
|
---|
| 793 | return base.Channel.BeginSetUptimeCalendar(appointments, callback, asyncState);
|
---|
| 794 | }
|
---|
| 795 |
|
---|
| 796 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 797 | public void EndSetUptimeCalendar(System.IAsyncResult result) {
|
---|
| 798 | base.Channel.EndSetUptimeCalendar(result);
|
---|
| 799 | }
|
---|
| 800 |
|
---|
| 801 | private System.IAsyncResult OnBeginSetUptimeCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
| 802 | HeuristicLab.Calendar.Appointment[] appointments = ((HeuristicLab.Calendar.Appointment[])(inValues[0]));
|
---|
| 803 | return this.BeginSetUptimeCalendar(appointments, callback, asyncState);
|
---|
| 804 | }
|
---|
| 805 |
|
---|
| 806 | private object[] OnEndSetUptimeCalendar(System.IAsyncResult result) {
|
---|
| 807 | this.EndSetUptimeCalendar(result);
|
---|
| 808 | return null;
|
---|
| 809 | }
|
---|
| 810 |
|
---|
| 811 | private void OnSetUptimeCalendarCompleted(object state) {
|
---|
| 812 | if ((this.SetUptimeCalendarCompleted != null)) {
|
---|
| 813 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
| 814 | this.SetUptimeCalendarCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
|
---|
| 815 | }
|
---|
| 816 | }
|
---|
| 817 |
|
---|
| 818 | public void SetUptimeCalendarAsync(HeuristicLab.Calendar.Appointment[] appointments) {
|
---|
| 819 | this.SetUptimeCalendarAsync(appointments, null);
|
---|
| 820 | }
|
---|
| 821 |
|
---|
| 822 | public void SetUptimeCalendarAsync(HeuristicLab.Calendar.Appointment[] appointments, object userState) {
|
---|
| 823 | if ((this.onBeginSetUptimeCalendarDelegate == null)) {
|
---|
| 824 | this.onBeginSetUptimeCalendarDelegate = new BeginOperationDelegate(this.OnBeginSetUptimeCalendar);
|
---|
| 825 | }
|
---|
| 826 | if ((this.onEndSetUptimeCalendarDelegate == null)) {
|
---|
| 827 | this.onEndSetUptimeCalendarDelegate = new EndOperationDelegate(this.OnEndSetUptimeCalendar);
|
---|
| 828 | }
|
---|
| 829 | if ((this.onSetUptimeCalendarCompletedDelegate == null)) {
|
---|
| 830 | this.onSetUptimeCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUptimeCalendarCompleted);
|
---|
| 831 | }
|
---|
| 832 | base.InvokeAsync(this.onBeginSetUptimeCalendarDelegate, new object[] {
|
---|
| 833 | appointments}, this.onEndSetUptimeCalendarDelegate, this.onSetUptimeCalendarCompletedDelegate, userState);
|
---|
| 834 | }
|
---|
| 835 |
|
---|
| 836 | public HeuristicLab.Calendar.Appointment[] GetUptimeCalendar() {
|
---|
| 837 | return base.Channel.GetUptimeCalendar();
|
---|
| 838 | }
|
---|
| 839 |
|
---|
| 840 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 841 | public System.IAsyncResult BeginGetUptimeCalendar(System.AsyncCallback callback, object asyncState) {
|
---|
| 842 | return base.Channel.BeginGetUptimeCalendar(callback, asyncState);
|
---|
| 843 | }
|
---|
| 844 |
|
---|
| 845 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
| 846 | public HeuristicLab.Calendar.Appointment[] EndGetUptimeCalendar(System.IAsyncResult result) {
|
---|
| 847 | return base.Channel.EndGetUptimeCalendar(result);
|
---|
| 848 | }
|
---|
| 849 |
|
---|
| 850 | private System.IAsyncResult OnBeginGetUptimeCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
| 851 | return this.BeginGetUptimeCalendar(callback, asyncState);
|
---|
| 852 | }
|
---|
| 853 |
|
---|
| 854 | private object[] OnEndGetUptimeCalendar(System.IAsyncResult result) {
|
---|
| 855 | HeuristicLab.Calendar.Appointment[] retVal = this.EndGetUptimeCalendar(result);
|
---|
| 856 | return new object[] {
|
---|
| 857 | retVal};
|
---|
| 858 | }
|
---|
| 859 |
|
---|
| 860 | private void OnGetUptimeCalendarCompleted(object state) {
|
---|
| 861 | if ((this.GetUptimeCalendarCompleted != null)) {
|
---|
| 862 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
| 863 | this.GetUptimeCalendarCompleted(this, new GetUptimeCalendarCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
| 864 | }
|
---|
| 865 | }
|
---|
| 866 |
|
---|
| 867 | public void GetUptimeCalendarAsync() {
|
---|
| 868 | this.GetUptimeCalendarAsync(null);
|
---|
| 869 | }
|
---|
| 870 |
|
---|
| 871 | public void GetUptimeCalendarAsync(object userState) {
|
---|
| 872 | if ((this.onBeginGetUptimeCalendarDelegate == null)) {
|
---|
| 873 | this.onBeginGetUptimeCalendarDelegate = new BeginOperationDelegate(this.OnBeginGetUptimeCalendar);
|
---|
| 874 | }
|
---|
| 875 | if ((this.onEndGetUptimeCalendarDelegate == null)) {
|
---|
| 876 | this.onEndGetUptimeCalendarDelegate = new EndOperationDelegate(this.OnEndGetUptimeCalendar);
|
---|
| 877 | }
|
---|
| 878 | if ((this.onGetUptimeCalendarCompletedDelegate == null)) {
|
---|
| 879 | this.onGetUptimeCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUptimeCalendarCompleted);
|
---|
| 880 | }
|
---|
| 881 | base.InvokeAsync(this.onBeginGetUptimeCalendarDelegate, null, this.onEndGetUptimeCalendarDelegate, this.onGetUptimeCalendarCompletedDelegate, userState);
|
---|
| 882 | }
|
---|
| 883 | }
|
---|
| 884 | }
|
---|