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.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 System.Collections.Generic.List<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 System.Collections.Generic.List<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.TimeSpan ExecutionTimeField;
|
---|
202 |
|
---|
203 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
204 | private System.Guid JobIdField;
|
---|
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.TimeSpan ExecutionTime {
|
---|
221 | get {
|
---|
222 | return this.ExecutionTimeField;
|
---|
223 | }
|
---|
224 | set {
|
---|
225 | if ((this.ExecutionTimeField.Equals(value) != true)) {
|
---|
226 | this.ExecutionTimeField = value;
|
---|
227 | this.RaisePropertyChanged("ExecutionTime");
|
---|
228 | }
|
---|
229 | }
|
---|
230 | }
|
---|
231 |
|
---|
232 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
233 | public System.Guid JobId {
|
---|
234 | get {
|
---|
235 | return this.JobIdField;
|
---|
236 | }
|
---|
237 | set {
|
---|
238 | if ((this.JobIdField.Equals(value) != true)) {
|
---|
239 | this.JobIdField = value;
|
---|
240 | this.RaisePropertyChanged("JobId");
|
---|
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.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
283 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SlaveConsoleService.ISlaveConsoleCommunicator")]
|
---|
284 | public interface ISlaveConsoleCommunicator {
|
---|
285 |
|
---|
286 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfosResponse")]
|
---|
287 | HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons GetStatusInfos();
|
---|
288 |
|
---|
289 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetStatusInfosResponse")]
|
---|
290 | System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState);
|
---|
291 |
|
---|
292 | HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons EndGetStatusInfos(System.IAsyncResult result);
|
---|
293 |
|
---|
294 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClientResponse")]
|
---|
295 | void ShutdownClient();
|
---|
296 |
|
---|
297 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/ShutdownClientResponse")]
|
---|
298 | System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState);
|
---|
299 |
|
---|
300 | void EndShutdownClient(System.IAsyncResult result);
|
---|
301 |
|
---|
302 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendarResponse")]
|
---|
303 | void SetUptimeCalendar(System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> appointments);
|
---|
304 |
|
---|
305 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/SetUptimeCalendarResponse")]
|
---|
306 | System.IAsyncResult BeginSetUptimeCalendar(System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> appointments, System.AsyncCallback callback, object asyncState);
|
---|
307 |
|
---|
308 | void EndSetUptimeCalendar(System.IAsyncResult result);
|
---|
309 |
|
---|
310 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendarResponse")]
|
---|
311 | System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> GetUptimeCalendar();
|
---|
312 |
|
---|
313 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendar", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetUptimeCalendarResponse")]
|
---|
314 | System.IAsyncResult BeginGetUptimeCalendar(System.AsyncCallback callback, object asyncState);
|
---|
315 |
|
---|
316 | System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> EndGetUptimeCalendar(System.IAsyncResult result);
|
---|
317 |
|
---|
318 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetLogMessages", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetLogMessagesResponse")]
|
---|
319 | System.Collections.Generic.List<string> GetLogMessages();
|
---|
320 |
|
---|
321 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/GetLogMessages", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetLogMessagesResponse")]
|
---|
322 | System.IAsyncResult BeginGetLogMessages(System.AsyncCallback callback, object asyncState);
|
---|
323 |
|
---|
324 | System.Collections.Generic.List<string> EndGetLogMessages(System.IAsyncResult result);
|
---|
325 | }
|
---|
326 |
|
---|
327 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
328 | public interface ISlaveConsoleCommunicatorChannel : HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ISlaveConsoleCommunicator, System.ServiceModel.IClientChannel {
|
---|
329 | }
|
---|
330 |
|
---|
331 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
332 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
333 | public partial class GetStatusInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
334 |
|
---|
335 | private object[] results;
|
---|
336 |
|
---|
337 | public GetStatusInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
338 | base(exception, cancelled, userState) {
|
---|
339 | this.results = results;
|
---|
340 | }
|
---|
341 |
|
---|
342 | public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons Result {
|
---|
343 | get {
|
---|
344 | base.RaiseExceptionIfNecessary();
|
---|
345 | return ((HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons)(this.results[0]));
|
---|
346 | }
|
---|
347 | }
|
---|
348 | }
|
---|
349 |
|
---|
350 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
351 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
352 | public partial class GetUptimeCalendarCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
353 |
|
---|
354 | private object[] results;
|
---|
355 |
|
---|
356 | public GetUptimeCalendarCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
357 | base(exception, cancelled, userState) {
|
---|
358 | this.results = results;
|
---|
359 | }
|
---|
360 |
|
---|
361 | public System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> Result {
|
---|
362 | get {
|
---|
363 | base.RaiseExceptionIfNecessary();
|
---|
364 | return ((System.Collections.Generic.List<HeuristicLab.Calendar.Appointment>)(this.results[0]));
|
---|
365 | }
|
---|
366 | }
|
---|
367 | }
|
---|
368 |
|
---|
369 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
370 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
371 | public partial class GetLogMessagesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
372 |
|
---|
373 | private object[] results;
|
---|
374 |
|
---|
375 | public GetLogMessagesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
376 | base(exception, cancelled, userState) {
|
---|
377 | this.results = results;
|
---|
378 | }
|
---|
379 |
|
---|
380 | public System.Collections.Generic.List<string> Result {
|
---|
381 | get {
|
---|
382 | base.RaiseExceptionIfNecessary();
|
---|
383 | return ((System.Collections.Generic.List<string>)(this.results[0]));
|
---|
384 | }
|
---|
385 | }
|
---|
386 | }
|
---|
387 |
|
---|
388 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
389 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
390 | public partial class SlaveConsoleCommunicatorClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ISlaveConsoleCommunicator>, HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ISlaveConsoleCommunicator {
|
---|
391 |
|
---|
392 | private BeginOperationDelegate onBeginGetStatusInfosDelegate;
|
---|
393 |
|
---|
394 | private EndOperationDelegate onEndGetStatusInfosDelegate;
|
---|
395 |
|
---|
396 | private System.Threading.SendOrPostCallback onGetStatusInfosCompletedDelegate;
|
---|
397 |
|
---|
398 | private BeginOperationDelegate onBeginShutdownClientDelegate;
|
---|
399 |
|
---|
400 | private EndOperationDelegate onEndShutdownClientDelegate;
|
---|
401 |
|
---|
402 | private System.Threading.SendOrPostCallback onShutdownClientCompletedDelegate;
|
---|
403 |
|
---|
404 | private BeginOperationDelegate onBeginSetUptimeCalendarDelegate;
|
---|
405 |
|
---|
406 | private EndOperationDelegate onEndSetUptimeCalendarDelegate;
|
---|
407 |
|
---|
408 | private System.Threading.SendOrPostCallback onSetUptimeCalendarCompletedDelegate;
|
---|
409 |
|
---|
410 | private BeginOperationDelegate onBeginGetUptimeCalendarDelegate;
|
---|
411 |
|
---|
412 | private EndOperationDelegate onEndGetUptimeCalendarDelegate;
|
---|
413 |
|
---|
414 | private System.Threading.SendOrPostCallback onGetUptimeCalendarCompletedDelegate;
|
---|
415 |
|
---|
416 | private BeginOperationDelegate onBeginGetLogMessagesDelegate;
|
---|
417 |
|
---|
418 | private EndOperationDelegate onEndGetLogMessagesDelegate;
|
---|
419 |
|
---|
420 | private System.Threading.SendOrPostCallback onGetLogMessagesCompletedDelegate;
|
---|
421 |
|
---|
422 | public SlaveConsoleCommunicatorClient() {
|
---|
423 | }
|
---|
424 |
|
---|
425 | public SlaveConsoleCommunicatorClient(string endpointConfigurationName) :
|
---|
426 | base(endpointConfigurationName) {
|
---|
427 | }
|
---|
428 |
|
---|
429 | public SlaveConsoleCommunicatorClient(string endpointConfigurationName, string remoteAddress) :
|
---|
430 | base(endpointConfigurationName, remoteAddress) {
|
---|
431 | }
|
---|
432 |
|
---|
433 | public SlaveConsoleCommunicatorClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
434 | base(endpointConfigurationName, remoteAddress) {
|
---|
435 | }
|
---|
436 |
|
---|
437 | public SlaveConsoleCommunicatorClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
438 | base(binding, remoteAddress) {
|
---|
439 | }
|
---|
440 |
|
---|
441 | public event System.EventHandler<GetStatusInfosCompletedEventArgs> GetStatusInfosCompleted;
|
---|
442 |
|
---|
443 | public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ShutdownClientCompleted;
|
---|
444 |
|
---|
445 | public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetUptimeCalendarCompleted;
|
---|
446 |
|
---|
447 | public event System.EventHandler<GetUptimeCalendarCompletedEventArgs> GetUptimeCalendarCompleted;
|
---|
448 |
|
---|
449 | public event System.EventHandler<GetLogMessagesCompletedEventArgs> GetLogMessagesCompleted;
|
---|
450 |
|
---|
451 | public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons GetStatusInfos() {
|
---|
452 | return base.Channel.GetStatusInfos();
|
---|
453 | }
|
---|
454 |
|
---|
455 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
456 | public System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState) {
|
---|
457 | return base.Channel.BeginGetStatusInfos(callback, asyncState);
|
---|
458 | }
|
---|
459 |
|
---|
460 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
461 | public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons EndGetStatusInfos(System.IAsyncResult result) {
|
---|
462 | return base.Channel.EndGetStatusInfos(result);
|
---|
463 | }
|
---|
464 |
|
---|
465 | private System.IAsyncResult OnBeginGetStatusInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
466 | return this.BeginGetStatusInfos(callback, asyncState);
|
---|
467 | }
|
---|
468 |
|
---|
469 | private object[] OnEndGetStatusInfos(System.IAsyncResult result) {
|
---|
470 | HeuristicLab.Hive.Slave.Console.SlaveConsoleService.StatusCommons retVal = this.EndGetStatusInfos(result);
|
---|
471 | return new object[] {
|
---|
472 | retVal};
|
---|
473 | }
|
---|
474 |
|
---|
475 | private void OnGetStatusInfosCompleted(object state) {
|
---|
476 | if ((this.GetStatusInfosCompleted != null)) {
|
---|
477 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
478 | this.GetStatusInfosCompleted(this, new GetStatusInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
479 | }
|
---|
480 | }
|
---|
481 |
|
---|
482 | public void GetStatusInfosAsync() {
|
---|
483 | this.GetStatusInfosAsync(null);
|
---|
484 | }
|
---|
485 |
|
---|
486 | public void GetStatusInfosAsync(object userState) {
|
---|
487 | if ((this.onBeginGetStatusInfosDelegate == null)) {
|
---|
488 | this.onBeginGetStatusInfosDelegate = new BeginOperationDelegate(this.OnBeginGetStatusInfos);
|
---|
489 | }
|
---|
490 | if ((this.onEndGetStatusInfosDelegate == null)) {
|
---|
491 | this.onEndGetStatusInfosDelegate = new EndOperationDelegate(this.OnEndGetStatusInfos);
|
---|
492 | }
|
---|
493 | if ((this.onGetStatusInfosCompletedDelegate == null)) {
|
---|
494 | this.onGetStatusInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusInfosCompleted);
|
---|
495 | }
|
---|
496 | base.InvokeAsync(this.onBeginGetStatusInfosDelegate, null, this.onEndGetStatusInfosDelegate, this.onGetStatusInfosCompletedDelegate, userState);
|
---|
497 | }
|
---|
498 |
|
---|
499 | public void ShutdownClient() {
|
---|
500 | base.Channel.ShutdownClient();
|
---|
501 | }
|
---|
502 |
|
---|
503 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
504 | public System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState) {
|
---|
505 | return base.Channel.BeginShutdownClient(callback, asyncState);
|
---|
506 | }
|
---|
507 |
|
---|
508 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
509 | public void EndShutdownClient(System.IAsyncResult result) {
|
---|
510 | base.Channel.EndShutdownClient(result);
|
---|
511 | }
|
---|
512 |
|
---|
513 | private System.IAsyncResult OnBeginShutdownClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
514 | return this.BeginShutdownClient(callback, asyncState);
|
---|
515 | }
|
---|
516 |
|
---|
517 | private object[] OnEndShutdownClient(System.IAsyncResult result) {
|
---|
518 | this.EndShutdownClient(result);
|
---|
519 | return null;
|
---|
520 | }
|
---|
521 |
|
---|
522 | private void OnShutdownClientCompleted(object state) {
|
---|
523 | if ((this.ShutdownClientCompleted != null)) {
|
---|
524 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
525 | this.ShutdownClientCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
|
---|
526 | }
|
---|
527 | }
|
---|
528 |
|
---|
529 | public void ShutdownClientAsync() {
|
---|
530 | this.ShutdownClientAsync(null);
|
---|
531 | }
|
---|
532 |
|
---|
533 | public void ShutdownClientAsync(object userState) {
|
---|
534 | if ((this.onBeginShutdownClientDelegate == null)) {
|
---|
535 | this.onBeginShutdownClientDelegate = new BeginOperationDelegate(this.OnBeginShutdownClient);
|
---|
536 | }
|
---|
537 | if ((this.onEndShutdownClientDelegate == null)) {
|
---|
538 | this.onEndShutdownClientDelegate = new EndOperationDelegate(this.OnEndShutdownClient);
|
---|
539 | }
|
---|
540 | if ((this.onShutdownClientCompletedDelegate == null)) {
|
---|
541 | this.onShutdownClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutdownClientCompleted);
|
---|
542 | }
|
---|
543 | base.InvokeAsync(this.onBeginShutdownClientDelegate, null, this.onEndShutdownClientDelegate, this.onShutdownClientCompletedDelegate, userState);
|
---|
544 | }
|
---|
545 |
|
---|
546 | public void SetUptimeCalendar(System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> appointments) {
|
---|
547 | base.Channel.SetUptimeCalendar(appointments);
|
---|
548 | }
|
---|
549 |
|
---|
550 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
551 | public System.IAsyncResult BeginSetUptimeCalendar(System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> appointments, System.AsyncCallback callback, object asyncState) {
|
---|
552 | return base.Channel.BeginSetUptimeCalendar(appointments, callback, asyncState);
|
---|
553 | }
|
---|
554 |
|
---|
555 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
556 | public void EndSetUptimeCalendar(System.IAsyncResult result) {
|
---|
557 | base.Channel.EndSetUptimeCalendar(result);
|
---|
558 | }
|
---|
559 |
|
---|
560 | private System.IAsyncResult OnBeginSetUptimeCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
561 | System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> appointments = ((System.Collections.Generic.List<HeuristicLab.Calendar.Appointment>)(inValues[0]));
|
---|
562 | return this.BeginSetUptimeCalendar(appointments, callback, asyncState);
|
---|
563 | }
|
---|
564 |
|
---|
565 | private object[] OnEndSetUptimeCalendar(System.IAsyncResult result) {
|
---|
566 | this.EndSetUptimeCalendar(result);
|
---|
567 | return null;
|
---|
568 | }
|
---|
569 |
|
---|
570 | private void OnSetUptimeCalendarCompleted(object state) {
|
---|
571 | if ((this.SetUptimeCalendarCompleted != null)) {
|
---|
572 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
573 | this.SetUptimeCalendarCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
|
---|
574 | }
|
---|
575 | }
|
---|
576 |
|
---|
577 | public void SetUptimeCalendarAsync(System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> appointments) {
|
---|
578 | this.SetUptimeCalendarAsync(appointments, null);
|
---|
579 | }
|
---|
580 |
|
---|
581 | public void SetUptimeCalendarAsync(System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> appointments, object userState) {
|
---|
582 | if ((this.onBeginSetUptimeCalendarDelegate == null)) {
|
---|
583 | this.onBeginSetUptimeCalendarDelegate = new BeginOperationDelegate(this.OnBeginSetUptimeCalendar);
|
---|
584 | }
|
---|
585 | if ((this.onEndSetUptimeCalendarDelegate == null)) {
|
---|
586 | this.onEndSetUptimeCalendarDelegate = new EndOperationDelegate(this.OnEndSetUptimeCalendar);
|
---|
587 | }
|
---|
588 | if ((this.onSetUptimeCalendarCompletedDelegate == null)) {
|
---|
589 | this.onSetUptimeCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUptimeCalendarCompleted);
|
---|
590 | }
|
---|
591 | base.InvokeAsync(this.onBeginSetUptimeCalendarDelegate, new object[] {
|
---|
592 | appointments}, this.onEndSetUptimeCalendarDelegate, this.onSetUptimeCalendarCompletedDelegate, userState);
|
---|
593 | }
|
---|
594 |
|
---|
595 | public System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> GetUptimeCalendar() {
|
---|
596 | return base.Channel.GetUptimeCalendar();
|
---|
597 | }
|
---|
598 |
|
---|
599 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
600 | public System.IAsyncResult BeginGetUptimeCalendar(System.AsyncCallback callback, object asyncState) {
|
---|
601 | return base.Channel.BeginGetUptimeCalendar(callback, asyncState);
|
---|
602 | }
|
---|
603 |
|
---|
604 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
605 | public System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> EndGetUptimeCalendar(System.IAsyncResult result) {
|
---|
606 | return base.Channel.EndGetUptimeCalendar(result);
|
---|
607 | }
|
---|
608 |
|
---|
609 | private System.IAsyncResult OnBeginGetUptimeCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
610 | return this.BeginGetUptimeCalendar(callback, asyncState);
|
---|
611 | }
|
---|
612 |
|
---|
613 | private object[] OnEndGetUptimeCalendar(System.IAsyncResult result) {
|
---|
614 | System.Collections.Generic.List<HeuristicLab.Calendar.Appointment> retVal = this.EndGetUptimeCalendar(result);
|
---|
615 | return new object[] {
|
---|
616 | retVal};
|
---|
617 | }
|
---|
618 |
|
---|
619 | private void OnGetUptimeCalendarCompleted(object state) {
|
---|
620 | if ((this.GetUptimeCalendarCompleted != null)) {
|
---|
621 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
622 | this.GetUptimeCalendarCompleted(this, new GetUptimeCalendarCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
623 | }
|
---|
624 | }
|
---|
625 |
|
---|
626 | public void GetUptimeCalendarAsync() {
|
---|
627 | this.GetUptimeCalendarAsync(null);
|
---|
628 | }
|
---|
629 |
|
---|
630 | public void GetUptimeCalendarAsync(object userState) {
|
---|
631 | if ((this.onBeginGetUptimeCalendarDelegate == null)) {
|
---|
632 | this.onBeginGetUptimeCalendarDelegate = new BeginOperationDelegate(this.OnBeginGetUptimeCalendar);
|
---|
633 | }
|
---|
634 | if ((this.onEndGetUptimeCalendarDelegate == null)) {
|
---|
635 | this.onEndGetUptimeCalendarDelegate = new EndOperationDelegate(this.OnEndGetUptimeCalendar);
|
---|
636 | }
|
---|
637 | if ((this.onGetUptimeCalendarCompletedDelegate == null)) {
|
---|
638 | this.onGetUptimeCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUptimeCalendarCompleted);
|
---|
639 | }
|
---|
640 | base.InvokeAsync(this.onBeginGetUptimeCalendarDelegate, null, this.onEndGetUptimeCalendarDelegate, this.onGetUptimeCalendarCompletedDelegate, userState);
|
---|
641 | }
|
---|
642 |
|
---|
643 | public System.Collections.Generic.List<string> GetLogMessages() {
|
---|
644 | return base.Channel.GetLogMessages();
|
---|
645 | }
|
---|
646 |
|
---|
647 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
648 | public System.IAsyncResult BeginGetLogMessages(System.AsyncCallback callback, object asyncState) {
|
---|
649 | return base.Channel.BeginGetLogMessages(callback, asyncState);
|
---|
650 | }
|
---|
651 |
|
---|
652 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
653 | public System.Collections.Generic.List<string> EndGetLogMessages(System.IAsyncResult result) {
|
---|
654 | return base.Channel.EndGetLogMessages(result);
|
---|
655 | }
|
---|
656 |
|
---|
657 | private System.IAsyncResult OnBeginGetLogMessages(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
658 | return this.BeginGetLogMessages(callback, asyncState);
|
---|
659 | }
|
---|
660 |
|
---|
661 | private object[] OnEndGetLogMessages(System.IAsyncResult result) {
|
---|
662 | System.Collections.Generic.List<string> retVal = this.EndGetLogMessages(result);
|
---|
663 | return new object[] {
|
---|
664 | retVal};
|
---|
665 | }
|
---|
666 |
|
---|
667 | private void OnGetLogMessagesCompleted(object state) {
|
---|
668 | if ((this.GetLogMessagesCompleted != null)) {
|
---|
669 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
670 | this.GetLogMessagesCompleted(this, new GetLogMessagesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
671 | }
|
---|
672 | }
|
---|
673 |
|
---|
674 | public void GetLogMessagesAsync() {
|
---|
675 | this.GetLogMessagesAsync(null);
|
---|
676 | }
|
---|
677 |
|
---|
678 | public void GetLogMessagesAsync(object userState) {
|
---|
679 | if ((this.onBeginGetLogMessagesDelegate == null)) {
|
---|
680 | this.onBeginGetLogMessagesDelegate = new BeginOperationDelegate(this.OnBeginGetLogMessages);
|
---|
681 | }
|
---|
682 | if ((this.onEndGetLogMessagesDelegate == null)) {
|
---|
683 | this.onEndGetLogMessagesDelegate = new EndOperationDelegate(this.OnEndGetLogMessages);
|
---|
684 | }
|
---|
685 | if ((this.onGetLogMessagesCompletedDelegate == null)) {
|
---|
686 | this.onGetLogMessagesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLogMessagesCompleted);
|
---|
687 | }
|
---|
688 | base.InvokeAsync(this.onBeginGetLogMessagesDelegate, null, this.onEndGetLogMessagesDelegate, this.onGetLogMessagesCompletedDelegate, userState);
|
---|
689 | }
|
---|
690 | }
|
---|
691 | }
|
---|