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