1 | //------------------------------------------------------------------------------
|
---|
2 | // <auto-generated>
|
---|
3 | // This code was generated by a tool.
|
---|
4 | // Runtime Version:2.0.50727.3053
|
---|
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 long 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 long 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 |
|
---|
250 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
251 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
|
---|
252 | [System.Runtime.Serialization.DataContractAttribute(Name="ConnectionContainer", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Client.Core.ClientConso" +
|
---|
253 | "leService")]
|
---|
254 | [System.SerializableAttribute()]
|
---|
255 | public partial class ConnectionContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
---|
256 |
|
---|
257 | [System.NonSerializedAttribute()]
|
---|
258 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
---|
259 |
|
---|
260 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
261 | private string IPAdressField;
|
---|
262 |
|
---|
263 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
264 | private int PortField;
|
---|
265 |
|
---|
266 | [global::System.ComponentModel.BrowsableAttribute(false)]
|
---|
267 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
---|
268 | get {
|
---|
269 | return this.extensionDataField;
|
---|
270 | }
|
---|
271 | set {
|
---|
272 | this.extensionDataField = value;
|
---|
273 | }
|
---|
274 | }
|
---|
275 |
|
---|
276 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
277 | public string IPAdress {
|
---|
278 | get {
|
---|
279 | return this.IPAdressField;
|
---|
280 | }
|
---|
281 | set {
|
---|
282 | if ((object.ReferenceEquals(this.IPAdressField, value) != true)) {
|
---|
283 | this.IPAdressField = value;
|
---|
284 | this.RaisePropertyChanged("IPAdress");
|
---|
285 | }
|
---|
286 | }
|
---|
287 | }
|
---|
288 |
|
---|
289 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
290 | public int Port {
|
---|
291 | get {
|
---|
292 | return this.PortField;
|
---|
293 | }
|
---|
294 | set {
|
---|
295 | if ((this.PortField.Equals(value) != true)) {
|
---|
296 | this.PortField = value;
|
---|
297 | this.RaisePropertyChanged("Port");
|
---|
298 | }
|
---|
299 | }
|
---|
300 | }
|
---|
301 |
|
---|
302 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
---|
303 |
|
---|
304 | protected void RaisePropertyChanged(string propertyName) {
|
---|
305 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
---|
306 | if ((propertyChanged != null)) {
|
---|
307 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
---|
308 | }
|
---|
309 | }
|
---|
310 | }
|
---|
311 |
|
---|
312 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
313 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ClientService.IClientConsoleCommunicator")]
|
---|
314 | public interface IClientConsoleCommunicator {
|
---|
315 |
|
---|
316 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfosResponse")]
|
---|
317 | HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos();
|
---|
318 |
|
---|
319 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetConnectionResponse")]
|
---|
320 | HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection();
|
---|
321 |
|
---|
322 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/SetConnectionResponse")]
|
---|
323 | void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container);
|
---|
324 |
|
---|
325 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/DisconnectResponse")]
|
---|
326 | void Disconnect();
|
---|
327 |
|
---|
328 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse")]
|
---|
329 | HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection();
|
---|
330 | }
|
---|
331 |
|
---|
332 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
333 | public interface IClientConsoleCommunicatorChannel : HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator, System.ServiceModel.IClientChannel {
|
---|
334 | }
|
---|
335 |
|
---|
336 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
337 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
338 | public partial class ClientConsoleCommunicatorClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator>, HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator {
|
---|
339 |
|
---|
340 | public ClientConsoleCommunicatorClient() {
|
---|
341 | }
|
---|
342 |
|
---|
343 | public ClientConsoleCommunicatorClient(string endpointConfigurationName) :
|
---|
344 | base(endpointConfigurationName) {
|
---|
345 | }
|
---|
346 |
|
---|
347 | public ClientConsoleCommunicatorClient(string endpointConfigurationName, string remoteAddress) :
|
---|
348 | base(endpointConfigurationName, remoteAddress) {
|
---|
349 | }
|
---|
350 |
|
---|
351 | public ClientConsoleCommunicatorClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
352 | base(endpointConfigurationName, remoteAddress) {
|
---|
353 | }
|
---|
354 |
|
---|
355 | public ClientConsoleCommunicatorClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
356 | base(binding, remoteAddress) {
|
---|
357 | }
|
---|
358 |
|
---|
359 | public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos() {
|
---|
360 | return base.Channel.GetStatusInfos();
|
---|
361 | }
|
---|
362 |
|
---|
363 | public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection() {
|
---|
364 | return base.Channel.GetConnection();
|
---|
365 | }
|
---|
366 |
|
---|
367 | public void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
|
---|
368 | base.Channel.SetConnection(container);
|
---|
369 | }
|
---|
370 |
|
---|
371 | public void Disconnect() {
|
---|
372 | base.Channel.Disconnect();
|
---|
373 | }
|
---|
374 |
|
---|
375 | public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection() {
|
---|
376 | return base.Channel.GetCurrentConnection();
|
---|
377 | }
|
---|
378 | }
|
---|
379 | }
|
---|