Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3/Service References/SlaveConsoleService/Reference.cs @ 4320

Last change on this file since 4320 was 4320, checked in by cneumuel, 14 years ago

made slave-console service configurable via xml

File size: 42.9 KB
Line 
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
11namespace HeuristicLab.Hive.Slave.Console.SlaveConsoleService {
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.SlaveConsole" +
19        "Service")]
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.SlaveConsoleService.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.SlaveConsoleService.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.SlaveConsoleService.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.SlaveConsoleService.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.SlaveConsole" +
193        "Service")]
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   
282    [System.Diagnostics.DebuggerStepThroughAttribute()]
283    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
284    [System.Runtime.Serialization.DataContractAttribute(Name="ConnectionContainer", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Slave.Core.SlaveConsole" +
285        "Service")]
286    [System.SerializableAttribute()]
287    public partial class ConnectionContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
288       
289        [System.NonSerializedAttribute()]
290        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
291       
292        [System.Runtime.Serialization.OptionalFieldAttribute()]
293        private string IPAdressField;
294       
295        [global::System.ComponentModel.BrowsableAttribute(false)]
296        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
297            get {
298                return this.extensionDataField;
299            }
300            set {
301                this.extensionDataField = value;
302            }
303        }
304       
305        [System.Runtime.Serialization.DataMemberAttribute()]
306        public string IPAdress {
307            get {
308                return this.IPAdressField;
309            }
310            set {
311                if ((object.ReferenceEquals(this.IPAdressField, value) != true)) {
312                    this.IPAdressField = value;
313                    this.RaisePropertyChanged("IPAdress");
314                }
315            }
316        }
317       
318        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
319       
320        protected void RaisePropertyChanged(string propertyName) {
321            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
322            if ((propertyChanged != null)) {
323                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
324            }
325        }
326    }
327   
328    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
329    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SlaveConsoleService.ISlaveConsoleCommunicator")]
330    public interface ISlaveConsoleCommunicator {
331       
332        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfosResponse")]
333        HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons GetStatusInfos();
334       
335        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfosResponse")]
336        System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState);
337       
338        HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons EndGetStatusInfos(System.IAsyncResult result);
339       
340        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetConnectionResponse")]
341        void SetConnection(HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer container);
342       
343        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetConnectionResponse")]
344        System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer container, System.AsyncCallback callback, object asyncState);
345       
346        void EndSetConnection(System.IAsyncResult result);
347       
348        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/DisconnectResponse")]
349        void Disconnect();
350       
351        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/DisconnectResponse")]
352        System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState);
353       
354        void EndDisconnect(System.IAsyncResult result);
355       
356        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnectionResponse")]
357        HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer GetCurrentConnection();
358       
359        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnectionResponse")]
360        System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState);
361       
362        HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result);
363       
364        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClientResponse")]
365        void ShutdownClient();
366       
367        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClientResponse")]
368        System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState);
369       
370        void EndShutdownClient(System.IAsyncResult result);
371       
372        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendarResponse")]
373        void SetUptimeCalendar(HeuristicLab.Calendar.Appointment[] appointments);
374       
375        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendarResponse")]
376        System.IAsyncResult BeginSetUptimeCalendar(HeuristicLab.Calendar.Appointment[] appointments, System.AsyncCallback callback, object asyncState);
377       
378        void EndSetUptimeCalendar(System.IAsyncResult result);
379       
380        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendarResponse")]
381        HeuristicLab.Calendar.Appointment[] GetUptimeCalendar();
382       
383        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendarResponse")]
384        System.IAsyncResult BeginGetUptimeCalendar(System.AsyncCallback callback, object asyncState);
385       
386        HeuristicLab.Calendar.Appointment[] EndGetUptimeCalendar(System.IAsyncResult result);
387    }
388   
389    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
390    public interface ISlaveConsoleCommunicatorChannel : HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ISlaveConsoleCommunicator, System.ServiceModel.IClientChannel {
391    }
392   
393    [System.Diagnostics.DebuggerStepThroughAttribute()]
394    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
395    public partial class GetStatusInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
396       
397        private object[] results;
398       
399        public GetStatusInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
400                base(exception, cancelled, userState) {
401            this.results = results;
402        }
403       
404        public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons Result {
405            get {
406                base.RaiseExceptionIfNecessary();
407                return ((HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons)(this.results[0]));
408            }
409        }
410    }
411   
412    [System.Diagnostics.DebuggerStepThroughAttribute()]
413    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
414    public partial class GetCurrentConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
415       
416        private object[] results;
417       
418        public GetCurrentConnectionCompletedEventArgs(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.SlaveConsoleService.ConnectionContainer Result {
424            get {
425                base.RaiseExceptionIfNecessary();
426                return ((HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer)(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 GetUptimeCalendarCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
434       
435        private object[] results;
436       
437        public GetUptimeCalendarCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
438                base(exception, cancelled, userState) {
439            this.results = results;
440        }
441       
442        public HeuristicLab.Calendar.Appointment[] Result {
443            get {
444                base.RaiseExceptionIfNecessary();
445                return ((HeuristicLab.Calendar.Appointment[])(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 SlaveConsoleCommunicatorClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ISlaveConsoleCommunicator>, HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ISlaveConsoleCommunicator {
453       
454        private BeginOperationDelegate onBeginGetStatusInfosDelegate;
455       
456        private EndOperationDelegate onEndGetStatusInfosDelegate;
457       
458        private System.Threading.SendOrPostCallback onGetStatusInfosCompletedDelegate;
459       
460        private BeginOperationDelegate onBeginSetConnectionDelegate;
461       
462        private EndOperationDelegate onEndSetConnectionDelegate;
463       
464        private System.Threading.SendOrPostCallback onSetConnectionCompletedDelegate;
465       
466        private BeginOperationDelegate onBeginDisconnectDelegate;
467       
468        private EndOperationDelegate onEndDisconnectDelegate;
469       
470        private System.Threading.SendOrPostCallback onDisconnectCompletedDelegate;
471       
472        private BeginOperationDelegate onBeginGetCurrentConnectionDelegate;
473       
474        private EndOperationDelegate onEndGetCurrentConnectionDelegate;
475       
476        private System.Threading.SendOrPostCallback onGetCurrentConnectionCompletedDelegate;
477       
478        private BeginOperationDelegate onBeginShutdownClientDelegate;
479       
480        private EndOperationDelegate onEndShutdownClientDelegate;
481       
482        private System.Threading.SendOrPostCallback onShutdownClientCompletedDelegate;
483       
484        private BeginOperationDelegate onBeginSetUptimeCalendarDelegate;
485       
486        private EndOperationDelegate onEndSetUptimeCalendarDelegate;
487       
488        private System.Threading.SendOrPostCallback onSetUptimeCalendarCompletedDelegate;
489       
490        private BeginOperationDelegate onBeginGetUptimeCalendarDelegate;
491       
492        private EndOperationDelegate onEndGetUptimeCalendarDelegate;
493       
494        private System.Threading.SendOrPostCallback onGetUptimeCalendarCompletedDelegate;
495       
496        public SlaveConsoleCommunicatorClient() {
497        }
498       
499        public SlaveConsoleCommunicatorClient(string endpointConfigurationName) :
500                base(endpointConfigurationName) {
501        }
502       
503        public SlaveConsoleCommunicatorClient(string endpointConfigurationName, string remoteAddress) :
504                base(endpointConfigurationName, remoteAddress) {
505        }
506       
507        public SlaveConsoleCommunicatorClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
508                base(endpointConfigurationName, remoteAddress) {
509        }
510       
511        public SlaveConsoleCommunicatorClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
512                base(binding, remoteAddress) {
513        }
514       
515        public event System.EventHandler<GetStatusInfosCompletedEventArgs> GetStatusInfosCompleted;
516       
517        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetConnectionCompleted;
518       
519        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DisconnectCompleted;
520       
521        public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted;
522       
523        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ShutdownClientCompleted;
524       
525        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetUptimeCalendarCompleted;
526       
527        public event System.EventHandler<GetUptimeCalendarCompletedEventArgs> GetUptimeCalendarCompleted;
528       
529        public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons GetStatusInfos() {
530            return base.Channel.GetStatusInfos();
531        }
532       
533        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
534        public System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState) {
535            return base.Channel.BeginGetStatusInfos(callback, asyncState);
536        }
537       
538        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
539        public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons EndGetStatusInfos(System.IAsyncResult result) {
540            return base.Channel.EndGetStatusInfos(result);
541        }
542       
543        private System.IAsyncResult OnBeginGetStatusInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
544            return this.BeginGetStatusInfos(callback, asyncState);
545        }
546       
547        private object[] OnEndGetStatusInfos(System.IAsyncResult result) {
548            HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons retVal = this.EndGetStatusInfos(result);
549            return new object[] {
550                    retVal};
551        }
552       
553        private void OnGetStatusInfosCompleted(object state) {
554            if ((this.GetStatusInfosCompleted != null)) {
555                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
556                this.GetStatusInfosCompleted(this, new GetStatusInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
557            }
558        }
559       
560        public void GetStatusInfosAsync() {
561            this.GetStatusInfosAsync(null);
562        }
563       
564        public void GetStatusInfosAsync(object userState) {
565            if ((this.onBeginGetStatusInfosDelegate == null)) {
566                this.onBeginGetStatusInfosDelegate = new BeginOperationDelegate(this.OnBeginGetStatusInfos);
567            }
568            if ((this.onEndGetStatusInfosDelegate == null)) {
569                this.onEndGetStatusInfosDelegate = new EndOperationDelegate(this.OnEndGetStatusInfos);
570            }
571            if ((this.onGetStatusInfosCompletedDelegate == null)) {
572                this.onGetStatusInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusInfosCompleted);
573            }
574            base.InvokeAsync(this.onBeginGetStatusInfosDelegate, null, this.onEndGetStatusInfosDelegate, this.onGetStatusInfosCompletedDelegate, userState);
575        }
576       
577        public void SetConnection(HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer container) {
578            base.Channel.SetConnection(container);
579        }
580       
581        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
582        public System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer container, System.AsyncCallback callback, object asyncState) {
583            return base.Channel.BeginSetConnection(container, callback, asyncState);
584        }
585       
586        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
587        public void EndSetConnection(System.IAsyncResult result) {
588            base.Channel.EndSetConnection(result);
589        }
590       
591        private System.IAsyncResult OnBeginSetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
592            HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer container = ((HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer)(inValues[0]));
593            return this.BeginSetConnection(container, callback, asyncState);
594        }
595       
596        private object[] OnEndSetConnection(System.IAsyncResult result) {
597            this.EndSetConnection(result);
598            return null;
599        }
600       
601        private void OnSetConnectionCompleted(object state) {
602            if ((this.SetConnectionCompleted != null)) {
603                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
604                this.SetConnectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
605            }
606        }
607       
608        public void SetConnectionAsync(HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer container) {
609            this.SetConnectionAsync(container, null);
610        }
611       
612        public void SetConnectionAsync(HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer container, object userState) {
613            if ((this.onBeginSetConnectionDelegate == null)) {
614                this.onBeginSetConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetConnection);
615            }
616            if ((this.onEndSetConnectionDelegate == null)) {
617                this.onEndSetConnectionDelegate = new EndOperationDelegate(this.OnEndSetConnection);
618            }
619            if ((this.onSetConnectionCompletedDelegate == null)) {
620                this.onSetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConnectionCompleted);
621            }
622            base.InvokeAsync(this.onBeginSetConnectionDelegate, new object[] {
623                        container}, this.onEndSetConnectionDelegate, this.onSetConnectionCompletedDelegate, userState);
624        }
625       
626        public void Disconnect() {
627            base.Channel.Disconnect();
628        }
629       
630        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
631        public System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState) {
632            return base.Channel.BeginDisconnect(callback, asyncState);
633        }
634       
635        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
636        public void EndDisconnect(System.IAsyncResult result) {
637            base.Channel.EndDisconnect(result);
638        }
639       
640        private System.IAsyncResult OnBeginDisconnect(object[] inValues, System.AsyncCallback callback, object asyncState) {
641            return this.BeginDisconnect(callback, asyncState);
642        }
643       
644        private object[] OnEndDisconnect(System.IAsyncResult result) {
645            this.EndDisconnect(result);
646            return null;
647        }
648       
649        private void OnDisconnectCompleted(object state) {
650            if ((this.DisconnectCompleted != null)) {
651                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
652                this.DisconnectCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
653            }
654        }
655       
656        public void DisconnectAsync() {
657            this.DisconnectAsync(null);
658        }
659       
660        public void DisconnectAsync(object userState) {
661            if ((this.onBeginDisconnectDelegate == null)) {
662                this.onBeginDisconnectDelegate = new BeginOperationDelegate(this.OnBeginDisconnect);
663            }
664            if ((this.onEndDisconnectDelegate == null)) {
665                this.onEndDisconnectDelegate = new EndOperationDelegate(this.OnEndDisconnect);
666            }
667            if ((this.onDisconnectCompletedDelegate == null)) {
668                this.onDisconnectCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisconnectCompleted);
669            }
670            base.InvokeAsync(this.onBeginDisconnectDelegate, null, this.onEndDisconnectDelegate, this.onDisconnectCompletedDelegate, userState);
671        }
672       
673        public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer GetCurrentConnection() {
674            return base.Channel.GetCurrentConnection();
675        }
676       
677        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
678        public System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState) {
679            return base.Channel.BeginGetCurrentConnection(callback, asyncState);
680        }
681       
682        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
683        public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result) {
684            return base.Channel.EndGetCurrentConnection(result);
685        }
686       
687        private System.IAsyncResult OnBeginGetCurrentConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
688            return this.BeginGetCurrentConnection(callback, asyncState);
689        }
690       
691        private object[] OnEndGetCurrentConnection(System.IAsyncResult result) {
692            HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer retVal = this.EndGetCurrentConnection(result);
693            return new object[] {
694                    retVal};
695        }
696       
697        private void OnGetCurrentConnectionCompleted(object state) {
698            if ((this.GetCurrentConnectionCompleted != null)) {
699                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
700                this.GetCurrentConnectionCompleted(this, new GetCurrentConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
701            }
702        }
703       
704        public void GetCurrentConnectionAsync() {
705            this.GetCurrentConnectionAsync(null);
706        }
707       
708        public void GetCurrentConnectionAsync(object userState) {
709            if ((this.onBeginGetCurrentConnectionDelegate == null)) {
710                this.onBeginGetCurrentConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetCurrentConnection);
711            }
712            if ((this.onEndGetCurrentConnectionDelegate == null)) {
713                this.onEndGetCurrentConnectionDelegate = new EndOperationDelegate(this.OnEndGetCurrentConnection);
714            }
715            if ((this.onGetCurrentConnectionCompletedDelegate == null)) {
716                this.onGetCurrentConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCurrentConnectionCompleted);
717            }
718            base.InvokeAsync(this.onBeginGetCurrentConnectionDelegate, null, this.onEndGetCurrentConnectionDelegate, this.onGetCurrentConnectionCompletedDelegate, userState);
719        }
720       
721        public void ShutdownClient() {
722            base.Channel.ShutdownClient();
723        }
724       
725        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
726        public System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState) {
727            return base.Channel.BeginShutdownClient(callback, asyncState);
728        }
729       
730        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
731        public void EndShutdownClient(System.IAsyncResult result) {
732            base.Channel.EndShutdownClient(result);
733        }
734       
735        private System.IAsyncResult OnBeginShutdownClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
736            return this.BeginShutdownClient(callback, asyncState);
737        }
738       
739        private object[] OnEndShutdownClient(System.IAsyncResult result) {
740            this.EndShutdownClient(result);
741            return null;
742        }
743       
744        private void OnShutdownClientCompleted(object state) {
745            if ((this.ShutdownClientCompleted != null)) {
746                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
747                this.ShutdownClientCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
748            }
749        }
750       
751        public void ShutdownClientAsync() {
752            this.ShutdownClientAsync(null);
753        }
754       
755        public void ShutdownClientAsync(object userState) {
756            if ((this.onBeginShutdownClientDelegate == null)) {
757                this.onBeginShutdownClientDelegate = new BeginOperationDelegate(this.OnBeginShutdownClient);
758            }
759            if ((this.onEndShutdownClientDelegate == null)) {
760                this.onEndShutdownClientDelegate = new EndOperationDelegate(this.OnEndShutdownClient);
761            }
762            if ((this.onShutdownClientCompletedDelegate == null)) {
763                this.onShutdownClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutdownClientCompleted);
764            }
765            base.InvokeAsync(this.onBeginShutdownClientDelegate, null, this.onEndShutdownClientDelegate, this.onShutdownClientCompletedDelegate, userState);
766        }
767       
768        public void SetUptimeCalendar(HeuristicLab.Calendar.Appointment[] appointments) {
769            base.Channel.SetUptimeCalendar(appointments);
770        }
771       
772        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
773        public System.IAsyncResult BeginSetUptimeCalendar(HeuristicLab.Calendar.Appointment[] appointments, System.AsyncCallback callback, object asyncState) {
774            return base.Channel.BeginSetUptimeCalendar(appointments, callback, asyncState);
775        }
776       
777        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
778        public void EndSetUptimeCalendar(System.IAsyncResult result) {
779            base.Channel.EndSetUptimeCalendar(result);
780        }
781       
782        private System.IAsyncResult OnBeginSetUptimeCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
783            HeuristicLab.Calendar.Appointment[] appointments = ((HeuristicLab.Calendar.Appointment[])(inValues[0]));
784            return this.BeginSetUptimeCalendar(appointments, callback, asyncState);
785        }
786       
787        private object[] OnEndSetUptimeCalendar(System.IAsyncResult result) {
788            this.EndSetUptimeCalendar(result);
789            return null;
790        }
791       
792        private void OnSetUptimeCalendarCompleted(object state) {
793            if ((this.SetUptimeCalendarCompleted != null)) {
794                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
795                this.SetUptimeCalendarCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
796            }
797        }
798       
799        public void SetUptimeCalendarAsync(HeuristicLab.Calendar.Appointment[] appointments) {
800            this.SetUptimeCalendarAsync(appointments, null);
801        }
802       
803        public void SetUptimeCalendarAsync(HeuristicLab.Calendar.Appointment[] appointments, object userState) {
804            if ((this.onBeginSetUptimeCalendarDelegate == null)) {
805                this.onBeginSetUptimeCalendarDelegate = new BeginOperationDelegate(this.OnBeginSetUptimeCalendar);
806            }
807            if ((this.onEndSetUptimeCalendarDelegate == null)) {
808                this.onEndSetUptimeCalendarDelegate = new EndOperationDelegate(this.OnEndSetUptimeCalendar);
809            }
810            if ((this.onSetUptimeCalendarCompletedDelegate == null)) {
811                this.onSetUptimeCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUptimeCalendarCompleted);
812            }
813            base.InvokeAsync(this.onBeginSetUptimeCalendarDelegate, new object[] {
814                        appointments}, this.onEndSetUptimeCalendarDelegate, this.onSetUptimeCalendarCompletedDelegate, userState);
815        }
816       
817        public HeuristicLab.Calendar.Appointment[] GetUptimeCalendar() {
818            return base.Channel.GetUptimeCalendar();
819        }
820       
821        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
822        public System.IAsyncResult BeginGetUptimeCalendar(System.AsyncCallback callback, object asyncState) {
823            return base.Channel.BeginGetUptimeCalendar(callback, asyncState);
824        }
825       
826        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
827        public HeuristicLab.Calendar.Appointment[] EndGetUptimeCalendar(System.IAsyncResult result) {
828            return base.Channel.EndGetUptimeCalendar(result);
829        }
830       
831        private System.IAsyncResult OnBeginGetUptimeCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
832            return this.BeginGetUptimeCalendar(callback, asyncState);
833        }
834       
835        private object[] OnEndGetUptimeCalendar(System.IAsyncResult result) {
836            HeuristicLab.Calendar.Appointment[] retVal = this.EndGetUptimeCalendar(result);
837            return new object[] {
838                    retVal};
839        }
840       
841        private void OnGetUptimeCalendarCompleted(object state) {
842            if ((this.GetUptimeCalendarCompleted != null)) {
843                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
844                this.GetUptimeCalendarCompleted(this, new GetUptimeCalendarCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
845            }
846        }
847       
848        public void GetUptimeCalendarAsync() {
849            this.GetUptimeCalendarAsync(null);
850        }
851       
852        public void GetUptimeCalendarAsync(object userState) {
853            if ((this.onBeginGetUptimeCalendarDelegate == null)) {
854                this.onBeginGetUptimeCalendarDelegate = new BeginOperationDelegate(this.OnBeginGetUptimeCalendar);
855            }
856            if ((this.onEndGetUptimeCalendarDelegate == null)) {
857                this.onEndGetUptimeCalendarDelegate = new EndOperationDelegate(this.OnEndGetUptimeCalendar);
858            }
859            if ((this.onGetUptimeCalendarCompletedDelegate == null)) {
860                this.onGetUptimeCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUptimeCalendarCompleted);
861            }
862            base.InvokeAsync(this.onBeginGetUptimeCalendarDelegate, null, this.onEndGetUptimeCalendarDelegate, this.onGetUptimeCalendarCompletedDelegate, userState);
863        }
864    }
865}
Note: See TracBrowser for help on using the repository browser.