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