1 | //------------------------------------------------------------------------------
|
---|
2 | // <auto-generated>
|
---|
3 | // This code was generated by a tool.
|
---|
4 | // Runtime Version:2.0.50727.4927
|
---|
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.Communication.ServerService {
|
---|
12 |
|
---|
13 |
|
---|
14 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
15 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServerService.IClientFacade")]
|
---|
16 | public interface IClientFacade {
|
---|
17 |
|
---|
18 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/Login", ReplyAction="http://tempuri.org/IClientCommunicator/LoginResponse")]
|
---|
19 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
|
---|
20 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
|
---|
21 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
|
---|
22 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
|
---|
23 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseCalendar))]
|
---|
24 | HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto clientInfo);
|
---|
25 |
|
---|
26 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/Login", ReplyAction="http://tempuri.org/IClientCommunicator/LoginResponse")]
|
---|
27 | System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto clientInfo, System.AsyncCallback callback, object asyncState);
|
---|
28 |
|
---|
29 | HeuristicLab.Hive.Contracts.Response EndLogin(System.IAsyncResult result);
|
---|
30 |
|
---|
31 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/ProcessHeartBeat", ReplyAction="http://tempuri.org/IClientCommunicator/ProcessHeartBeatResponse")]
|
---|
32 | HeuristicLab.Hive.Contracts.ResponseHB ProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData);
|
---|
33 |
|
---|
34 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/ProcessHeartBeat", ReplyAction="http://tempuri.org/IClientCommunicator/ProcessHeartBeatResponse")]
|
---|
35 | System.IAsyncResult BeginProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, System.AsyncCallback callback, object asyncState);
|
---|
36 |
|
---|
37 | HeuristicLab.Hive.Contracts.ResponseHB EndProcessHeartBeat(System.IAsyncResult result);
|
---|
38 |
|
---|
39 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SendJob", ReplyAction="http://tempuri.org/IClientCommunicator/SendJobResponse")]
|
---|
40 | HeuristicLab.Hive.Contracts.ResponseJob SendJob(System.Guid clientId);
|
---|
41 |
|
---|
42 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SendJob", ReplyAction="http://tempuri.org/IClientCommunicator/SendJobResponse")]
|
---|
43 | System.IAsyncResult BeginSendJob(System.Guid clientId, System.AsyncCallback callback, object asyncState);
|
---|
44 |
|
---|
45 | HeuristicLab.Hive.Contracts.ResponseJob EndSendJob(System.IAsyncResult result);
|
---|
46 |
|
---|
47 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/StoreFinishedJobResult", ReplyAction="http://tempuri.org/IClientCommunicator/StoreFinishedJobResultResponse")]
|
---|
48 | HeuristicLab.Hive.Contracts.ResponseResultReceived StoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception);
|
---|
49 |
|
---|
50 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/StoreFinishedJobResult", ReplyAction="http://tempuri.org/IClientCommunicator/StoreFinishedJobResultResponse")]
|
---|
51 | System.IAsyncResult BeginStoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, System.AsyncCallback callback, object asyncState);
|
---|
52 |
|
---|
53 | HeuristicLab.Hive.Contracts.ResponseResultReceived EndStoreFinishedJobResult(System.IAsyncResult result);
|
---|
54 |
|
---|
55 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/ProcessSnapshot", ReplyAction="http://tempuri.org/IClientCommunicator/ProcessSnapshotResponse")]
|
---|
56 | HeuristicLab.Hive.Contracts.ResponseResultReceived ProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception);
|
---|
57 |
|
---|
58 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/ProcessSnapshot", ReplyAction="http://tempuri.org/IClientCommunicator/ProcessSnapshotResponse")]
|
---|
59 | System.IAsyncResult BeginProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, System.AsyncCallback callback, object asyncState);
|
---|
60 |
|
---|
61 | HeuristicLab.Hive.Contracts.ResponseResultReceived EndProcessSnapshot(System.IAsyncResult result);
|
---|
62 |
|
---|
63 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/Logout", ReplyAction="http://tempuri.org/IClientCommunicator/LogoutResponse")]
|
---|
64 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
|
---|
65 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
|
---|
66 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
|
---|
67 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
|
---|
68 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseCalendar))]
|
---|
69 | HeuristicLab.Hive.Contracts.Response Logout(System.Guid clientId);
|
---|
70 |
|
---|
71 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/Logout", ReplyAction="http://tempuri.org/IClientCommunicator/LogoutResponse")]
|
---|
72 | System.IAsyncResult BeginLogout(System.Guid clientId, System.AsyncCallback callback, object asyncState);
|
---|
73 |
|
---|
74 | HeuristicLab.Hive.Contracts.Response EndLogout(System.IAsyncResult result);
|
---|
75 |
|
---|
76 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/IsJobStillNeeded", ReplyAction="http://tempuri.org/IClientCommunicator/IsJobStillNeededResponse")]
|
---|
77 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
|
---|
78 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
|
---|
79 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
|
---|
80 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
|
---|
81 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseCalendar))]
|
---|
82 | HeuristicLab.Hive.Contracts.Response IsJobStillNeeded(System.Guid jobId);
|
---|
83 |
|
---|
84 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/IsJobStillNeeded", ReplyAction="http://tempuri.org/IClientCommunicator/IsJobStillNeededResponse")]
|
---|
85 | System.IAsyncResult BeginIsJobStillNeeded(System.Guid jobId, System.AsyncCallback callback, object asyncState);
|
---|
86 |
|
---|
87 | HeuristicLab.Hive.Contracts.Response EndIsJobStillNeeded(System.IAsyncResult result);
|
---|
88 |
|
---|
89 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SendPlugins", ReplyAction="http://tempuri.org/IClientCommunicator/SendPluginsResponse")]
|
---|
90 | HeuristicLab.Hive.Contracts.ResponsePlugin SendPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList);
|
---|
91 |
|
---|
92 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SendPlugins", ReplyAction="http://tempuri.org/IClientCommunicator/SendPluginsResponse")]
|
---|
93 | System.IAsyncResult BeginSendPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, System.AsyncCallback callback, object asyncState);
|
---|
94 |
|
---|
95 | HeuristicLab.Hive.Contracts.ResponsePlugin EndSendPlugins(System.IAsyncResult result);
|
---|
96 |
|
---|
97 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/GetCalendar", ReplyAction="http://tempuri.org/IClientCommunicator/GetCalendarResponse")]
|
---|
98 | HeuristicLab.Hive.Contracts.ResponseCalendar GetCalendar(System.Guid clientId);
|
---|
99 |
|
---|
100 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/GetCalendar", ReplyAction="http://tempuri.org/IClientCommunicator/GetCalendarResponse")]
|
---|
101 | System.IAsyncResult BeginGetCalendar(System.Guid clientId, System.AsyncCallback callback, object asyncState);
|
---|
102 |
|
---|
103 | HeuristicLab.Hive.Contracts.ResponseCalendar EndGetCalendar(System.IAsyncResult result);
|
---|
104 |
|
---|
105 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SetCalendarStatus", ReplyAction="http://tempuri.org/IClientCommunicator/SetCalendarStatusResponse")]
|
---|
106 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
|
---|
107 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
|
---|
108 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
|
---|
109 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
|
---|
110 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseCalendar))]
|
---|
111 | HeuristicLab.Hive.Contracts.Response SetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state);
|
---|
112 |
|
---|
113 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SetCalendarStatus", ReplyAction="http://tempuri.org/IClientCommunicator/SetCalendarStatusResponse")]
|
---|
114 | System.IAsyncResult BeginSetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, System.AsyncCallback callback, object asyncState);
|
---|
115 |
|
---|
116 | HeuristicLab.Hive.Contracts.Response EndSetCalendarStatus(System.IAsyncResult result);
|
---|
117 |
|
---|
118 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/SendStreamedJob", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedJobResponse")]
|
---|
119 | System.IO.Stream SendStreamedJob(System.Guid clientId);
|
---|
120 |
|
---|
121 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientFacade/SendStreamedJob", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedJobResponse")]
|
---|
122 | System.IAsyncResult BeginSendStreamedJob(System.Guid clientId, System.AsyncCallback callback, object asyncState);
|
---|
123 |
|
---|
124 | System.IO.Stream EndSendStreamedJob(System.IAsyncResult result);
|
---|
125 |
|
---|
126 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/SendStreamedPlugins", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedPluginsResponse")]
|
---|
127 | System.IO.Stream SendStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList);
|
---|
128 |
|
---|
129 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientFacade/SendStreamedPlugins", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedPluginsResponse")]
|
---|
130 | System.IAsyncResult BeginSendStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, System.AsyncCallback callback, object asyncState);
|
---|
131 |
|
---|
132 | System.IO.Stream EndSendStreamedPlugins(System.IAsyncResult result);
|
---|
133 |
|
---|
134 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/StoreFinishedJobResultStreamed", ReplyAction="http://tempuri.org/IClientFacade/StoreFinishedJobResultStreamedResponse")]
|
---|
135 | HeuristicLab.Hive.Contracts.ResponseResultReceived StoreFinishedJobResultStreamed(System.IO.Stream stream);
|
---|
136 |
|
---|
137 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientFacade/StoreFinishedJobResultStreamed", ReplyAction="http://tempuri.org/IClientFacade/StoreFinishedJobResultStreamedResponse")]
|
---|
138 | System.IAsyncResult BeginStoreFinishedJobResultStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState);
|
---|
139 |
|
---|
140 | HeuristicLab.Hive.Contracts.ResponseResultReceived EndStoreFinishedJobResultStreamed(System.IAsyncResult result);
|
---|
141 |
|
---|
142 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/ProcessSnapshotStreamed", ReplyAction="http://tempuri.org/IClientFacade/ProcessSnapshotStreamedResponse")]
|
---|
143 | HeuristicLab.Hive.Contracts.ResponseResultReceived ProcessSnapshotStreamed(System.IO.Stream stream);
|
---|
144 |
|
---|
145 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientFacade/ProcessSnapshotStreamed", ReplyAction="http://tempuri.org/IClientFacade/ProcessSnapshotStreamedResponse")]
|
---|
146 | System.IAsyncResult BeginProcessSnapshotStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState);
|
---|
147 |
|
---|
148 | HeuristicLab.Hive.Contracts.ResponseResultReceived EndProcessSnapshotStreamed(System.IAsyncResult result);
|
---|
149 | }
|
---|
150 |
|
---|
151 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
152 | public interface IClientFacadeChannel : HeuristicLab.Hive.Client.Communication.ServerService.IClientFacade, System.ServiceModel.IClientChannel {
|
---|
153 | }
|
---|
154 |
|
---|
155 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
156 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
157 | public partial class LoginCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
158 |
|
---|
159 | private object[] results;
|
---|
160 |
|
---|
161 | public LoginCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
162 | base(exception, cancelled, userState) {
|
---|
163 | this.results = results;
|
---|
164 | }
|
---|
165 |
|
---|
166 | public HeuristicLab.Hive.Contracts.Response Result {
|
---|
167 | get {
|
---|
168 | base.RaiseExceptionIfNecessary();
|
---|
169 | return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));
|
---|
170 | }
|
---|
171 | }
|
---|
172 | }
|
---|
173 |
|
---|
174 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
175 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
176 | public partial class ProcessHeartBeatCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
177 |
|
---|
178 | private object[] results;
|
---|
179 |
|
---|
180 | public ProcessHeartBeatCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
181 | base(exception, cancelled, userState) {
|
---|
182 | this.results = results;
|
---|
183 | }
|
---|
184 |
|
---|
185 | public HeuristicLab.Hive.Contracts.ResponseHB Result {
|
---|
186 | get {
|
---|
187 | base.RaiseExceptionIfNecessary();
|
---|
188 | return ((HeuristicLab.Hive.Contracts.ResponseHB)(this.results[0]));
|
---|
189 | }
|
---|
190 | }
|
---|
191 | }
|
---|
192 |
|
---|
193 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
194 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
195 | public partial class SendJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
196 |
|
---|
197 | private object[] results;
|
---|
198 |
|
---|
199 | public SendJobCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
200 | base(exception, cancelled, userState) {
|
---|
201 | this.results = results;
|
---|
202 | }
|
---|
203 |
|
---|
204 | public HeuristicLab.Hive.Contracts.ResponseJob Result {
|
---|
205 | get {
|
---|
206 | base.RaiseExceptionIfNecessary();
|
---|
207 | return ((HeuristicLab.Hive.Contracts.ResponseJob)(this.results[0]));
|
---|
208 | }
|
---|
209 | }
|
---|
210 | public byte[] Data {
|
---|
211 | get {
|
---|
212 | base.RaiseExceptionIfNecessary();
|
---|
213 | return (byte[]) this.results[1];
|
---|
214 | }
|
---|
215 | }
|
---|
216 |
|
---|
217 | }
|
---|
218 |
|
---|
219 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
220 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
221 | public partial class StoreFinishedJobResultCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
222 |
|
---|
223 | private object[] results;
|
---|
224 |
|
---|
225 | public StoreFinishedJobResultCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
226 | base(exception, cancelled, userState) {
|
---|
227 | this.results = results;
|
---|
228 | }
|
---|
229 |
|
---|
230 | public HeuristicLab.Hive.Contracts.ResponseResultReceived Result {
|
---|
231 | get {
|
---|
232 | base.RaiseExceptionIfNecessary();
|
---|
233 | return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0]));
|
---|
234 | }
|
---|
235 | }
|
---|
236 | }
|
---|
237 |
|
---|
238 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
239 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
240 | public partial class ProcessSnapshotCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
241 |
|
---|
242 | private object[] results;
|
---|
243 |
|
---|
244 | public ProcessSnapshotCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
245 | base(exception, cancelled, userState) {
|
---|
246 | this.results = results;
|
---|
247 | }
|
---|
248 |
|
---|
249 | public HeuristicLab.Hive.Contracts.ResponseResultReceived Result {
|
---|
250 | get {
|
---|
251 | base.RaiseExceptionIfNecessary();
|
---|
252 | return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0]));
|
---|
253 | }
|
---|
254 | }
|
---|
255 | }
|
---|
256 |
|
---|
257 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
258 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
259 | public partial class LogoutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
260 |
|
---|
261 | private object[] results;
|
---|
262 |
|
---|
263 | public LogoutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
264 | base(exception, cancelled, userState) {
|
---|
265 | this.results = results;
|
---|
266 | }
|
---|
267 |
|
---|
268 | public HeuristicLab.Hive.Contracts.Response Result {
|
---|
269 | get {
|
---|
270 | base.RaiseExceptionIfNecessary();
|
---|
271 | return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));
|
---|
272 | }
|
---|
273 | }
|
---|
274 | }
|
---|
275 |
|
---|
276 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
277 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
278 | public partial class IsJobStillNeededCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
279 |
|
---|
280 | private object[] results;
|
---|
281 |
|
---|
282 | public IsJobStillNeededCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
283 | base(exception, cancelled, userState) {
|
---|
284 | this.results = results;
|
---|
285 | }
|
---|
286 |
|
---|
287 | public HeuristicLab.Hive.Contracts.Response Result {
|
---|
288 | get {
|
---|
289 | base.RaiseExceptionIfNecessary();
|
---|
290 | return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));
|
---|
291 | }
|
---|
292 | }
|
---|
293 | }
|
---|
294 |
|
---|
295 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
296 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
297 | public partial class SendPluginsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
298 |
|
---|
299 | private object[] results;
|
---|
300 |
|
---|
301 | public SendPluginsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
302 | base(exception, cancelled, userState) {
|
---|
303 | this.results = results;
|
---|
304 | }
|
---|
305 |
|
---|
306 | public HeuristicLab.Hive.Contracts.ResponsePlugin Result {
|
---|
307 | get {
|
---|
308 | base.RaiseExceptionIfNecessary();
|
---|
309 | return ((HeuristicLab.Hive.Contracts.ResponsePlugin)(this.results[0]));
|
---|
310 | }
|
---|
311 | }
|
---|
312 | }
|
---|
313 |
|
---|
314 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
315 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
316 | public partial class GetCalendarCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
317 |
|
---|
318 | private object[] results;
|
---|
319 |
|
---|
320 | public GetCalendarCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
321 | base(exception, cancelled, userState) {
|
---|
322 | this.results = results;
|
---|
323 | }
|
---|
324 |
|
---|
325 | public HeuristicLab.Hive.Contracts.ResponseCalendar Result {
|
---|
326 | get {
|
---|
327 | base.RaiseExceptionIfNecessary();
|
---|
328 | return ((HeuristicLab.Hive.Contracts.ResponseCalendar)(this.results[0]));
|
---|
329 | }
|
---|
330 | }
|
---|
331 | }
|
---|
332 |
|
---|
333 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
334 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
335 | public partial class SetCalendarStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
336 |
|
---|
337 | private object[] results;
|
---|
338 |
|
---|
339 | public SetCalendarStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
340 | base(exception, cancelled, userState) {
|
---|
341 | this.results = results;
|
---|
342 | }
|
---|
343 |
|
---|
344 | public HeuristicLab.Hive.Contracts.Response Result {
|
---|
345 | get {
|
---|
346 | base.RaiseExceptionIfNecessary();
|
---|
347 | return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));
|
---|
348 | }
|
---|
349 | }
|
---|
350 | }
|
---|
351 |
|
---|
352 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
353 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
354 | public partial class SendStreamedJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
355 |
|
---|
356 | private object[] results;
|
---|
357 |
|
---|
358 | public SendStreamedJobCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
359 | base(exception, cancelled, userState) {
|
---|
360 | this.results = results;
|
---|
361 | }
|
---|
362 |
|
---|
363 | public System.IO.Stream Result {
|
---|
364 | get {
|
---|
365 | base.RaiseExceptionIfNecessary();
|
---|
366 | return ((System.IO.Stream)(this.results[0]));
|
---|
367 | }
|
---|
368 | }
|
---|
369 | }
|
---|
370 |
|
---|
371 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
372 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
373 | public partial class SendStreamedPluginsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
374 |
|
---|
375 | private object[] results;
|
---|
376 |
|
---|
377 | public SendStreamedPluginsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
378 | base(exception, cancelled, userState) {
|
---|
379 | this.results = results;
|
---|
380 | }
|
---|
381 |
|
---|
382 | public System.IO.Stream Result {
|
---|
383 | get {
|
---|
384 | base.RaiseExceptionIfNecessary();
|
---|
385 | return ((System.IO.Stream)(this.results[0]));
|
---|
386 | }
|
---|
387 | }
|
---|
388 | }
|
---|
389 |
|
---|
390 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
391 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
392 | public partial class StoreFinishedJobResultStreamedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
393 |
|
---|
394 | private object[] results;
|
---|
395 |
|
---|
396 | public StoreFinishedJobResultStreamedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
397 | base(exception, cancelled, userState) {
|
---|
398 | this.results = results;
|
---|
399 | }
|
---|
400 |
|
---|
401 | public HeuristicLab.Hive.Contracts.ResponseResultReceived Result {
|
---|
402 | get {
|
---|
403 | base.RaiseExceptionIfNecessary();
|
---|
404 | return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0]));
|
---|
405 | }
|
---|
406 | }
|
---|
407 | }
|
---|
408 |
|
---|
409 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
410 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
411 | public partial class ProcessSnapshotStreamedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
412 |
|
---|
413 | private object[] results;
|
---|
414 |
|
---|
415 | public ProcessSnapshotStreamedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
416 | base(exception, cancelled, userState) {
|
---|
417 | this.results = results;
|
---|
418 | }
|
---|
419 |
|
---|
420 | public HeuristicLab.Hive.Contracts.ResponseResultReceived Result {
|
---|
421 | get {
|
---|
422 | base.RaiseExceptionIfNecessary();
|
---|
423 | return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0]));
|
---|
424 | }
|
---|
425 | }
|
---|
426 | }
|
---|
427 |
|
---|
428 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
429 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
430 | public partial class ClientFacadeClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Client.Communication.ServerService.IClientFacade>, HeuristicLab.Hive.Client.Communication.ServerService.IClientFacade {
|
---|
431 |
|
---|
432 | private BeginOperationDelegate onBeginLoginDelegate;
|
---|
433 |
|
---|
434 | private EndOperationDelegate onEndLoginDelegate;
|
---|
435 |
|
---|
436 | private System.Threading.SendOrPostCallback onLoginCompletedDelegate;
|
---|
437 |
|
---|
438 | private BeginOperationDelegate onBeginProcessHeartBeatDelegate;
|
---|
439 |
|
---|
440 | private EndOperationDelegate onEndProcessHeartBeatDelegate;
|
---|
441 |
|
---|
442 | private System.Threading.SendOrPostCallback onProcessHeartBeatCompletedDelegate;
|
---|
443 |
|
---|
444 | private BeginOperationDelegate onBeginSendJobDelegate;
|
---|
445 |
|
---|
446 | private EndOperationDelegate onEndSendJobDelegate;
|
---|
447 |
|
---|
448 | private System.Threading.SendOrPostCallback onSendJobCompletedDelegate;
|
---|
449 |
|
---|
450 | private BeginOperationDelegate onBeginStoreFinishedJobResultDelegate;
|
---|
451 |
|
---|
452 | private EndOperationDelegate onEndStoreFinishedJobResultDelegate;
|
---|
453 |
|
---|
454 | private System.Threading.SendOrPostCallback onStoreFinishedJobResultCompletedDelegate;
|
---|
455 |
|
---|
456 | private BeginOperationDelegate onBeginProcessSnapshotDelegate;
|
---|
457 |
|
---|
458 | private EndOperationDelegate onEndProcessSnapshotDelegate;
|
---|
459 |
|
---|
460 | private System.Threading.SendOrPostCallback onProcessSnapshotCompletedDelegate;
|
---|
461 |
|
---|
462 | private BeginOperationDelegate onBeginLogoutDelegate;
|
---|
463 |
|
---|
464 | private EndOperationDelegate onEndLogoutDelegate;
|
---|
465 |
|
---|
466 | private System.Threading.SendOrPostCallback onLogoutCompletedDelegate;
|
---|
467 |
|
---|
468 | private BeginOperationDelegate onBeginIsJobStillNeededDelegate;
|
---|
469 |
|
---|
470 | private EndOperationDelegate onEndIsJobStillNeededDelegate;
|
---|
471 |
|
---|
472 | private System.Threading.SendOrPostCallback onIsJobStillNeededCompletedDelegate;
|
---|
473 |
|
---|
474 | private BeginOperationDelegate onBeginSendPluginsDelegate;
|
---|
475 |
|
---|
476 | private EndOperationDelegate onEndSendPluginsDelegate;
|
---|
477 |
|
---|
478 | private System.Threading.SendOrPostCallback onSendPluginsCompletedDelegate;
|
---|
479 |
|
---|
480 | private BeginOperationDelegate onBeginGetCalendarDelegate;
|
---|
481 |
|
---|
482 | private EndOperationDelegate onEndGetCalendarDelegate;
|
---|
483 |
|
---|
484 | private System.Threading.SendOrPostCallback onGetCalendarCompletedDelegate;
|
---|
485 |
|
---|
486 | private BeginOperationDelegate onBeginSetCalendarStatusDelegate;
|
---|
487 |
|
---|
488 | private EndOperationDelegate onEndSetCalendarStatusDelegate;
|
---|
489 |
|
---|
490 | private System.Threading.SendOrPostCallback onSetCalendarStatusCompletedDelegate;
|
---|
491 |
|
---|
492 | private BeginOperationDelegate onBeginSendStreamedJobDelegate;
|
---|
493 |
|
---|
494 | private EndOperationDelegate onEndSendStreamedJobDelegate;
|
---|
495 |
|
---|
496 | private System.Threading.SendOrPostCallback onSendStreamedJobCompletedDelegate;
|
---|
497 |
|
---|
498 | private BeginOperationDelegate onBeginSendStreamedPluginsDelegate;
|
---|
499 |
|
---|
500 | private EndOperationDelegate onEndSendStreamedPluginsDelegate;
|
---|
501 |
|
---|
502 | private System.Threading.SendOrPostCallback onSendStreamedPluginsCompletedDelegate;
|
---|
503 |
|
---|
504 | private BeginOperationDelegate onBeginStoreFinishedJobResultStreamedDelegate;
|
---|
505 |
|
---|
506 | private EndOperationDelegate onEndStoreFinishedJobResultStreamedDelegate;
|
---|
507 |
|
---|
508 | private System.Threading.SendOrPostCallback onStoreFinishedJobResultStreamedCompletedDelegate;
|
---|
509 |
|
---|
510 | private BeginOperationDelegate onBeginProcessSnapshotStreamedDelegate;
|
---|
511 |
|
---|
512 | private EndOperationDelegate onEndProcessSnapshotStreamedDelegate;
|
---|
513 |
|
---|
514 | private System.Threading.SendOrPostCallback onProcessSnapshotStreamedCompletedDelegate;
|
---|
515 |
|
---|
516 | public ClientFacadeClient() {
|
---|
517 | }
|
---|
518 |
|
---|
519 | public ClientFacadeClient(string endpointConfigurationName) :
|
---|
520 | base(endpointConfigurationName) {
|
---|
521 | }
|
---|
522 |
|
---|
523 | public ClientFacadeClient(string endpointConfigurationName, string remoteAddress) :
|
---|
524 | base(endpointConfigurationName, remoteAddress) {
|
---|
525 | }
|
---|
526 |
|
---|
527 | public ClientFacadeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
528 | base(endpointConfigurationName, remoteAddress) {
|
---|
529 | }
|
---|
530 |
|
---|
531 | public ClientFacadeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
532 | base(binding, remoteAddress) {
|
---|
533 | }
|
---|
534 |
|
---|
535 | public event System.EventHandler<LoginCompletedEventArgs> LoginCompleted;
|
---|
536 |
|
---|
537 | public event System.EventHandler<ProcessHeartBeatCompletedEventArgs> ProcessHeartBeatCompleted;
|
---|
538 |
|
---|
539 | public event System.EventHandler<SendJobCompletedEventArgs> SendJobCompleted;
|
---|
540 |
|
---|
541 | public event System.EventHandler<StoreFinishedJobResultCompletedEventArgs> StoreFinishedJobResultCompleted;
|
---|
542 |
|
---|
543 | public event System.EventHandler<ProcessSnapshotCompletedEventArgs> ProcessSnapshotCompleted;
|
---|
544 |
|
---|
545 | public event System.EventHandler<LogoutCompletedEventArgs> LogoutCompleted;
|
---|
546 |
|
---|
547 | public event System.EventHandler<IsJobStillNeededCompletedEventArgs> IsJobStillNeededCompleted;
|
---|
548 |
|
---|
549 | public event System.EventHandler<SendPluginsCompletedEventArgs> SendPluginsCompleted;
|
---|
550 |
|
---|
551 | public event System.EventHandler<GetCalendarCompletedEventArgs> GetCalendarCompleted;
|
---|
552 |
|
---|
553 | public event System.EventHandler<SetCalendarStatusCompletedEventArgs> SetCalendarStatusCompleted;
|
---|
554 |
|
---|
555 | public event System.EventHandler<SendStreamedJobCompletedEventArgs> SendStreamedJobCompleted;
|
---|
556 |
|
---|
557 | public event System.EventHandler<SendStreamedPluginsCompletedEventArgs> SendStreamedPluginsCompleted;
|
---|
558 |
|
---|
559 | public event System.EventHandler<StoreFinishedJobResultStreamedCompletedEventArgs> StoreFinishedJobResultStreamedCompleted;
|
---|
560 |
|
---|
561 | public event System.EventHandler<ProcessSnapshotStreamedCompletedEventArgs> ProcessSnapshotStreamedCompleted;
|
---|
562 |
|
---|
563 | public HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto clientInfo) {
|
---|
564 | return base.Channel.Login(clientInfo);
|
---|
565 | }
|
---|
566 |
|
---|
567 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
568 | public System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto clientInfo, System.AsyncCallback callback, object asyncState) {
|
---|
569 | return base.Channel.BeginLogin(clientInfo, callback, asyncState);
|
---|
570 | }
|
---|
571 |
|
---|
572 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
573 | public HeuristicLab.Hive.Contracts.Response EndLogin(System.IAsyncResult result) {
|
---|
574 | return base.Channel.EndLogin(result);
|
---|
575 | }
|
---|
576 |
|
---|
577 | private System.IAsyncResult OnBeginLogin(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
578 | HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto clientInfo = ((HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto)(inValues[0]));
|
---|
579 | return this.BeginLogin(clientInfo, callback, asyncState);
|
---|
580 | }
|
---|
581 |
|
---|
582 | private object[] OnEndLogin(System.IAsyncResult result) {
|
---|
583 | HeuristicLab.Hive.Contracts.Response retVal = this.EndLogin(result);
|
---|
584 | return new object[] {
|
---|
585 | retVal};
|
---|
586 | }
|
---|
587 |
|
---|
588 | private void OnLoginCompleted(object state) {
|
---|
589 | if ((this.LoginCompleted != null)) {
|
---|
590 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
591 | this.LoginCompleted(this, new LoginCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
592 | }
|
---|
593 | }
|
---|
594 |
|
---|
595 | public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto clientInfo) {
|
---|
596 | this.LoginAsync(clientInfo, null);
|
---|
597 | }
|
---|
598 |
|
---|
599 | public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto clientInfo, object userState) {
|
---|
600 | if ((this.onBeginLoginDelegate == null)) {
|
---|
601 | this.onBeginLoginDelegate = new BeginOperationDelegate(this.OnBeginLogin);
|
---|
602 | }
|
---|
603 | if ((this.onEndLoginDelegate == null)) {
|
---|
604 | this.onEndLoginDelegate = new EndOperationDelegate(this.OnEndLogin);
|
---|
605 | }
|
---|
606 | if ((this.onLoginCompletedDelegate == null)) {
|
---|
607 | this.onLoginCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLoginCompleted);
|
---|
608 | }
|
---|
609 | base.InvokeAsync(this.onBeginLoginDelegate, new object[] {
|
---|
610 | clientInfo}, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState);
|
---|
611 | }
|
---|
612 |
|
---|
613 | public HeuristicLab.Hive.Contracts.ResponseHB ProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData) {
|
---|
614 | return base.Channel.ProcessHeartBeat(hbData);
|
---|
615 | }
|
---|
616 |
|
---|
617 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
618 | public System.IAsyncResult BeginProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, System.AsyncCallback callback, object asyncState) {
|
---|
619 | return base.Channel.BeginProcessHeartBeat(hbData, callback, asyncState);
|
---|
620 | }
|
---|
621 |
|
---|
622 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
623 | public HeuristicLab.Hive.Contracts.ResponseHB EndProcessHeartBeat(System.IAsyncResult result) {
|
---|
624 | return base.Channel.EndProcessHeartBeat(result);
|
---|
625 | }
|
---|
626 |
|
---|
627 | private System.IAsyncResult OnBeginProcessHeartBeat(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
628 | HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData = ((HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData)(inValues[0]));
|
---|
629 | return this.BeginProcessHeartBeat(hbData, callback, asyncState);
|
---|
630 | }
|
---|
631 |
|
---|
632 | private object[] OnEndProcessHeartBeat(System.IAsyncResult result) {
|
---|
633 | HeuristicLab.Hive.Contracts.ResponseHB retVal = this.EndProcessHeartBeat(result);
|
---|
634 | return new object[] {
|
---|
635 | retVal};
|
---|
636 | }
|
---|
637 |
|
---|
638 | private void OnProcessHeartBeatCompleted(object state) {
|
---|
639 | if ((this.ProcessHeartBeatCompleted != null)) {
|
---|
640 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
641 | this.ProcessHeartBeatCompleted(this, new ProcessHeartBeatCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
642 | }
|
---|
643 | }
|
---|
644 |
|
---|
645 | public void ProcessHeartBeatAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData) {
|
---|
646 | this.ProcessHeartBeatAsync(hbData, null);
|
---|
647 | }
|
---|
648 |
|
---|
649 | public void ProcessHeartBeatAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, object userState) {
|
---|
650 | if ((this.onBeginProcessHeartBeatDelegate == null)) {
|
---|
651 | this.onBeginProcessHeartBeatDelegate = new BeginOperationDelegate(this.OnBeginProcessHeartBeat);
|
---|
652 | }
|
---|
653 | if ((this.onEndProcessHeartBeatDelegate == null)) {
|
---|
654 | this.onEndProcessHeartBeatDelegate = new EndOperationDelegate(this.OnEndProcessHeartBeat);
|
---|
655 | }
|
---|
656 | if ((this.onProcessHeartBeatCompletedDelegate == null)) {
|
---|
657 | this.onProcessHeartBeatCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessHeartBeatCompleted);
|
---|
658 | }
|
---|
659 | base.InvokeAsync(this.onBeginProcessHeartBeatDelegate, new object[] {
|
---|
660 | hbData}, this.onEndProcessHeartBeatDelegate, this.onProcessHeartBeatCompletedDelegate, userState);
|
---|
661 | }
|
---|
662 |
|
---|
663 | public HeuristicLab.Hive.Contracts.ResponseJob SendJob(System.Guid clientId) {
|
---|
664 | return base.Channel.SendJob(clientId);
|
---|
665 | }
|
---|
666 |
|
---|
667 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
668 | public System.IAsyncResult BeginSendJob(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
|
---|
669 | return base.Channel.BeginSendJob(clientId, callback, asyncState);
|
---|
670 | }
|
---|
671 |
|
---|
672 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
673 | public HeuristicLab.Hive.Contracts.ResponseJob EndSendJob(System.IAsyncResult result) {
|
---|
674 | return base.Channel.EndSendJob(result);
|
---|
675 | }
|
---|
676 |
|
---|
677 | private System.IAsyncResult OnBeginSendJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
678 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
679 | return this.BeginSendJob(clientId, callback, asyncState);
|
---|
680 | }
|
---|
681 |
|
---|
682 | private object[] OnEndSendJob(System.IAsyncResult result) {
|
---|
683 | HeuristicLab.Hive.Contracts.ResponseJob retVal = this.EndSendJob(result);
|
---|
684 | return new object[] {
|
---|
685 | retVal};
|
---|
686 | }
|
---|
687 |
|
---|
688 | private void OnSendJobCompleted(object state) {
|
---|
689 | if ((this.SendJobCompleted != null)) {
|
---|
690 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
691 | this.SendJobCompleted(this, new SendJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
692 | }
|
---|
693 | }
|
---|
694 |
|
---|
695 | public void SendJobAsync(System.Guid clientId) {
|
---|
696 | this.SendJobAsync(clientId, null);
|
---|
697 | }
|
---|
698 |
|
---|
699 | public void SendJobAsync(System.Guid clientId, object userState) {
|
---|
700 | if ((this.onBeginSendJobDelegate == null)) {
|
---|
701 | this.onBeginSendJobDelegate = new BeginOperationDelegate(this.OnBeginSendJob);
|
---|
702 | }
|
---|
703 | if ((this.onEndSendJobDelegate == null)) {
|
---|
704 | this.onEndSendJobDelegate = new EndOperationDelegate(this.OnEndSendJob);
|
---|
705 | }
|
---|
706 | if ((this.onSendJobCompletedDelegate == null)) {
|
---|
707 | this.onSendJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendJobCompleted);
|
---|
708 | }
|
---|
709 | base.InvokeAsync(this.onBeginSendJobDelegate, new object[] {
|
---|
710 | clientId}, this.onEndSendJobDelegate, this.onSendJobCompletedDelegate, userState);
|
---|
711 | }
|
---|
712 |
|
---|
713 | public HeuristicLab.Hive.Contracts.ResponseResultReceived StoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception) {
|
---|
714 | return base.Channel.StoreFinishedJobResult(clientId, jobId, result, percentage, exception);
|
---|
715 | }
|
---|
716 |
|
---|
717 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
718 | public System.IAsyncResult BeginStoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, System.AsyncCallback callback, object asyncState) {
|
---|
719 | return base.Channel.BeginStoreFinishedJobResult(clientId, jobId, result, percentage, exception, callback, asyncState);
|
---|
720 | }
|
---|
721 |
|
---|
722 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
723 | public HeuristicLab.Hive.Contracts.ResponseResultReceived EndStoreFinishedJobResult(System.IAsyncResult result) {
|
---|
724 | return base.Channel.EndStoreFinishedJobResult(result);
|
---|
725 | }
|
---|
726 |
|
---|
727 | private System.IAsyncResult OnBeginStoreFinishedJobResult(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
728 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
729 | System.Guid jobId = ((System.Guid)(inValues[1]));
|
---|
730 | byte[] result = ((byte[])(inValues[2]));
|
---|
731 | double percentage = ((double)(inValues[3]));
|
---|
732 | System.Exception exception = ((System.Exception)(inValues[4]));
|
---|
733 | return this.BeginStoreFinishedJobResult(clientId, jobId, result, percentage, exception, callback, asyncState);
|
---|
734 | }
|
---|
735 |
|
---|
736 | private object[] OnEndStoreFinishedJobResult(System.IAsyncResult result) {
|
---|
737 | HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndStoreFinishedJobResult(result);
|
---|
738 | return new object[] {
|
---|
739 | retVal};
|
---|
740 | }
|
---|
741 |
|
---|
742 | private void OnStoreFinishedJobResultCompleted(object state) {
|
---|
743 | if ((this.StoreFinishedJobResultCompleted != null)) {
|
---|
744 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
745 | this.StoreFinishedJobResultCompleted(this, new StoreFinishedJobResultCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
746 | }
|
---|
747 | }
|
---|
748 |
|
---|
749 | public void StoreFinishedJobResultAsync(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception) {
|
---|
750 | this.StoreFinishedJobResultAsync(clientId, jobId, result, percentage, exception, null);
|
---|
751 | }
|
---|
752 |
|
---|
753 | public void StoreFinishedJobResultAsync(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, object userState) {
|
---|
754 | if ((this.onBeginStoreFinishedJobResultDelegate == null)) {
|
---|
755 | this.onBeginStoreFinishedJobResultDelegate = new BeginOperationDelegate(this.OnBeginStoreFinishedJobResult);
|
---|
756 | }
|
---|
757 | if ((this.onEndStoreFinishedJobResultDelegate == null)) {
|
---|
758 | this.onEndStoreFinishedJobResultDelegate = new EndOperationDelegate(this.OnEndStoreFinishedJobResult);
|
---|
759 | }
|
---|
760 | if ((this.onStoreFinishedJobResultCompletedDelegate == null)) {
|
---|
761 | this.onStoreFinishedJobResultCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStoreFinishedJobResultCompleted);
|
---|
762 | }
|
---|
763 | base.InvokeAsync(this.onBeginStoreFinishedJobResultDelegate, new object[] {
|
---|
764 | clientId,
|
---|
765 | jobId,
|
---|
766 | result,
|
---|
767 | percentage,
|
---|
768 | exception}, this.onEndStoreFinishedJobResultDelegate, this.onStoreFinishedJobResultCompletedDelegate, userState);
|
---|
769 | }
|
---|
770 |
|
---|
771 | public HeuristicLab.Hive.Contracts.ResponseResultReceived ProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception) {
|
---|
772 | return base.Channel.ProcessSnapshot(clientId, jobId, result, percentage, exception);
|
---|
773 | }
|
---|
774 |
|
---|
775 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
776 | public System.IAsyncResult BeginProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, System.AsyncCallback callback, object asyncState) {
|
---|
777 | return base.Channel.BeginProcessSnapshot(clientId, jobId, result, percentage, exception, callback, asyncState);
|
---|
778 | }
|
---|
779 |
|
---|
780 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
781 | public HeuristicLab.Hive.Contracts.ResponseResultReceived EndProcessSnapshot(System.IAsyncResult result) {
|
---|
782 | return base.Channel.EndProcessSnapshot(result);
|
---|
783 | }
|
---|
784 |
|
---|
785 | private System.IAsyncResult OnBeginProcessSnapshot(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
786 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
787 | System.Guid jobId = ((System.Guid)(inValues[1]));
|
---|
788 | byte[] result = ((byte[])(inValues[2]));
|
---|
789 | double percentage = ((double)(inValues[3]));
|
---|
790 | System.Exception exception = ((System.Exception)(inValues[4]));
|
---|
791 | return this.BeginProcessSnapshot(clientId, jobId, result, percentage, exception, callback, asyncState);
|
---|
792 | }
|
---|
793 |
|
---|
794 | private object[] OnEndProcessSnapshot(System.IAsyncResult result) {
|
---|
795 | HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndProcessSnapshot(result);
|
---|
796 | return new object[] {
|
---|
797 | retVal};
|
---|
798 | }
|
---|
799 |
|
---|
800 | private void OnProcessSnapshotCompleted(object state) {
|
---|
801 | if ((this.ProcessSnapshotCompleted != null)) {
|
---|
802 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
803 | this.ProcessSnapshotCompleted(this, new ProcessSnapshotCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
804 | }
|
---|
805 | }
|
---|
806 |
|
---|
807 | public void ProcessSnapshotAsync(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception) {
|
---|
808 | this.ProcessSnapshotAsync(clientId, jobId, result, percentage, exception, null);
|
---|
809 | }
|
---|
810 |
|
---|
811 | public void ProcessSnapshotAsync(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, object userState) {
|
---|
812 | if ((this.onBeginProcessSnapshotDelegate == null)) {
|
---|
813 | this.onBeginProcessSnapshotDelegate = new BeginOperationDelegate(this.OnBeginProcessSnapshot);
|
---|
814 | }
|
---|
815 | if ((this.onEndProcessSnapshotDelegate == null)) {
|
---|
816 | this.onEndProcessSnapshotDelegate = new EndOperationDelegate(this.OnEndProcessSnapshot);
|
---|
817 | }
|
---|
818 | if ((this.onProcessSnapshotCompletedDelegate == null)) {
|
---|
819 | this.onProcessSnapshotCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessSnapshotCompleted);
|
---|
820 | }
|
---|
821 | base.InvokeAsync(this.onBeginProcessSnapshotDelegate, new object[] {
|
---|
822 | clientId,
|
---|
823 | jobId,
|
---|
824 | result,
|
---|
825 | percentage,
|
---|
826 | exception}, this.onEndProcessSnapshotDelegate, this.onProcessSnapshotCompletedDelegate, userState);
|
---|
827 | }
|
---|
828 |
|
---|
829 | public HeuristicLab.Hive.Contracts.Response Logout(System.Guid clientId) {
|
---|
830 | return base.Channel.Logout(clientId);
|
---|
831 | }
|
---|
832 |
|
---|
833 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
834 | public System.IAsyncResult BeginLogout(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
|
---|
835 | return base.Channel.BeginLogout(clientId, callback, asyncState);
|
---|
836 | }
|
---|
837 |
|
---|
838 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
839 | public HeuristicLab.Hive.Contracts.Response EndLogout(System.IAsyncResult result) {
|
---|
840 | return base.Channel.EndLogout(result);
|
---|
841 | }
|
---|
842 |
|
---|
843 | private System.IAsyncResult OnBeginLogout(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
844 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
845 | return this.BeginLogout(clientId, callback, asyncState);
|
---|
846 | }
|
---|
847 |
|
---|
848 | private object[] OnEndLogout(System.IAsyncResult result) {
|
---|
849 | HeuristicLab.Hive.Contracts.Response retVal = this.EndLogout(result);
|
---|
850 | return new object[] {
|
---|
851 | retVal};
|
---|
852 | }
|
---|
853 |
|
---|
854 | private void OnLogoutCompleted(object state) {
|
---|
855 | if ((this.LogoutCompleted != null)) {
|
---|
856 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
857 | this.LogoutCompleted(this, new LogoutCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
858 | }
|
---|
859 | }
|
---|
860 |
|
---|
861 | public void LogoutAsync(System.Guid clientId) {
|
---|
862 | this.LogoutAsync(clientId, null);
|
---|
863 | }
|
---|
864 |
|
---|
865 | public void LogoutAsync(System.Guid clientId, object userState) {
|
---|
866 | if ((this.onBeginLogoutDelegate == null)) {
|
---|
867 | this.onBeginLogoutDelegate = new BeginOperationDelegate(this.OnBeginLogout);
|
---|
868 | }
|
---|
869 | if ((this.onEndLogoutDelegate == null)) {
|
---|
870 | this.onEndLogoutDelegate = new EndOperationDelegate(this.OnEndLogout);
|
---|
871 | }
|
---|
872 | if ((this.onLogoutCompletedDelegate == null)) {
|
---|
873 | this.onLogoutCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLogoutCompleted);
|
---|
874 | }
|
---|
875 | base.InvokeAsync(this.onBeginLogoutDelegate, new object[] {
|
---|
876 | clientId}, this.onEndLogoutDelegate, this.onLogoutCompletedDelegate, userState);
|
---|
877 | }
|
---|
878 |
|
---|
879 | public HeuristicLab.Hive.Contracts.Response IsJobStillNeeded(System.Guid jobId) {
|
---|
880 | return base.Channel.IsJobStillNeeded(jobId);
|
---|
881 | }
|
---|
882 |
|
---|
883 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
884 | public System.IAsyncResult BeginIsJobStillNeeded(System.Guid jobId, System.AsyncCallback callback, object asyncState) {
|
---|
885 | return base.Channel.BeginIsJobStillNeeded(jobId, callback, asyncState);
|
---|
886 | }
|
---|
887 |
|
---|
888 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
889 | public HeuristicLab.Hive.Contracts.Response EndIsJobStillNeeded(System.IAsyncResult result) {
|
---|
890 | return base.Channel.EndIsJobStillNeeded(result);
|
---|
891 | }
|
---|
892 |
|
---|
893 | private System.IAsyncResult OnBeginIsJobStillNeeded(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
894 | System.Guid jobId = ((System.Guid)(inValues[0]));
|
---|
895 | return this.BeginIsJobStillNeeded(jobId, callback, asyncState);
|
---|
896 | }
|
---|
897 |
|
---|
898 | private object[] OnEndIsJobStillNeeded(System.IAsyncResult result) {
|
---|
899 | HeuristicLab.Hive.Contracts.Response retVal = this.EndIsJobStillNeeded(result);
|
---|
900 | return new object[] {
|
---|
901 | retVal};
|
---|
902 | }
|
---|
903 |
|
---|
904 | private void OnIsJobStillNeededCompleted(object state) {
|
---|
905 | if ((this.IsJobStillNeededCompleted != null)) {
|
---|
906 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
907 | this.IsJobStillNeededCompleted(this, new IsJobStillNeededCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
908 | }
|
---|
909 | }
|
---|
910 |
|
---|
911 | public void IsJobStillNeededAsync(System.Guid jobId) {
|
---|
912 | this.IsJobStillNeededAsync(jobId, null);
|
---|
913 | }
|
---|
914 |
|
---|
915 | public void IsJobStillNeededAsync(System.Guid jobId, object userState) {
|
---|
916 | if ((this.onBeginIsJobStillNeededDelegate == null)) {
|
---|
917 | this.onBeginIsJobStillNeededDelegate = new BeginOperationDelegate(this.OnBeginIsJobStillNeeded);
|
---|
918 | }
|
---|
919 | if ((this.onEndIsJobStillNeededDelegate == null)) {
|
---|
920 | this.onEndIsJobStillNeededDelegate = new EndOperationDelegate(this.OnEndIsJobStillNeeded);
|
---|
921 | }
|
---|
922 | if ((this.onIsJobStillNeededCompletedDelegate == null)) {
|
---|
923 | this.onIsJobStillNeededCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnIsJobStillNeededCompleted);
|
---|
924 | }
|
---|
925 | base.InvokeAsync(this.onBeginIsJobStillNeededDelegate, new object[] {
|
---|
926 | jobId}, this.onEndIsJobStillNeededDelegate, this.onIsJobStillNeededCompletedDelegate, userState);
|
---|
927 | }
|
---|
928 |
|
---|
929 | public HeuristicLab.Hive.Contracts.ResponsePlugin SendPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList) {
|
---|
930 | return base.Channel.SendPlugins(pluginList);
|
---|
931 | }
|
---|
932 |
|
---|
933 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
934 | public System.IAsyncResult BeginSendPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, System.AsyncCallback callback, object asyncState) {
|
---|
935 | return base.Channel.BeginSendPlugins(pluginList, callback, asyncState);
|
---|
936 | }
|
---|
937 |
|
---|
938 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
939 | public HeuristicLab.Hive.Contracts.ResponsePlugin EndSendPlugins(System.IAsyncResult result) {
|
---|
940 | return base.Channel.EndSendPlugins(result);
|
---|
941 | }
|
---|
942 |
|
---|
943 | private System.IAsyncResult OnBeginSendPlugins(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
944 | HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList = ((HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[])(inValues[0]));
|
---|
945 | return this.BeginSendPlugins(pluginList, callback, asyncState);
|
---|
946 | }
|
---|
947 |
|
---|
948 | private object[] OnEndSendPlugins(System.IAsyncResult result) {
|
---|
949 | HeuristicLab.Hive.Contracts.ResponsePlugin retVal = this.EndSendPlugins(result);
|
---|
950 | return new object[] {
|
---|
951 | retVal};
|
---|
952 | }
|
---|
953 |
|
---|
954 | private void OnSendPluginsCompleted(object state) {
|
---|
955 | if ((this.SendPluginsCompleted != null)) {
|
---|
956 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
957 | this.SendPluginsCompleted(this, new SendPluginsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
958 | }
|
---|
959 | }
|
---|
960 |
|
---|
961 | public void SendPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList) {
|
---|
962 | this.SendPluginsAsync(pluginList, null);
|
---|
963 | }
|
---|
964 |
|
---|
965 | public void SendPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, object userState) {
|
---|
966 | if ((this.onBeginSendPluginsDelegate == null)) {
|
---|
967 | this.onBeginSendPluginsDelegate = new BeginOperationDelegate(this.OnBeginSendPlugins);
|
---|
968 | }
|
---|
969 | if ((this.onEndSendPluginsDelegate == null)) {
|
---|
970 | this.onEndSendPluginsDelegate = new EndOperationDelegate(this.OnEndSendPlugins);
|
---|
971 | }
|
---|
972 | if ((this.onSendPluginsCompletedDelegate == null)) {
|
---|
973 | this.onSendPluginsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendPluginsCompleted);
|
---|
974 | }
|
---|
975 | base.InvokeAsync(this.onBeginSendPluginsDelegate, new object[] {
|
---|
976 | pluginList}, this.onEndSendPluginsDelegate, this.onSendPluginsCompletedDelegate, userState);
|
---|
977 | }
|
---|
978 |
|
---|
979 | public HeuristicLab.Hive.Contracts.ResponseCalendar GetCalendar(System.Guid clientId) {
|
---|
980 | return base.Channel.GetCalendar(clientId);
|
---|
981 | }
|
---|
982 |
|
---|
983 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
984 | public System.IAsyncResult BeginGetCalendar(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
|
---|
985 | return base.Channel.BeginGetCalendar(clientId, callback, asyncState);
|
---|
986 | }
|
---|
987 |
|
---|
988 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
989 | public HeuristicLab.Hive.Contracts.ResponseCalendar EndGetCalendar(System.IAsyncResult result) {
|
---|
990 | return base.Channel.EndGetCalendar(result);
|
---|
991 | }
|
---|
992 |
|
---|
993 | private System.IAsyncResult OnBeginGetCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
994 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
995 | return this.BeginGetCalendar(clientId, callback, asyncState);
|
---|
996 | }
|
---|
997 |
|
---|
998 | private object[] OnEndGetCalendar(System.IAsyncResult result) {
|
---|
999 | HeuristicLab.Hive.Contracts.ResponseCalendar retVal = this.EndGetCalendar(result);
|
---|
1000 | return new object[] {
|
---|
1001 | retVal};
|
---|
1002 | }
|
---|
1003 |
|
---|
1004 | private void OnGetCalendarCompleted(object state) {
|
---|
1005 | if ((this.GetCalendarCompleted != null)) {
|
---|
1006 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1007 | this.GetCalendarCompleted(this, new GetCalendarCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1008 | }
|
---|
1009 | }
|
---|
1010 |
|
---|
1011 | public void GetCalendarAsync(System.Guid clientId) {
|
---|
1012 | this.GetCalendarAsync(clientId, null);
|
---|
1013 | }
|
---|
1014 |
|
---|
1015 | public void GetCalendarAsync(System.Guid clientId, object userState) {
|
---|
1016 | if ((this.onBeginGetCalendarDelegate == null)) {
|
---|
1017 | this.onBeginGetCalendarDelegate = new BeginOperationDelegate(this.OnBeginGetCalendar);
|
---|
1018 | }
|
---|
1019 | if ((this.onEndGetCalendarDelegate == null)) {
|
---|
1020 | this.onEndGetCalendarDelegate = new EndOperationDelegate(this.OnEndGetCalendar);
|
---|
1021 | }
|
---|
1022 | if ((this.onGetCalendarCompletedDelegate == null)) {
|
---|
1023 | this.onGetCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCalendarCompleted);
|
---|
1024 | }
|
---|
1025 | base.InvokeAsync(this.onBeginGetCalendarDelegate, new object[] {
|
---|
1026 | clientId}, this.onEndGetCalendarDelegate, this.onGetCalendarCompletedDelegate, userState);
|
---|
1027 | }
|
---|
1028 |
|
---|
1029 | public HeuristicLab.Hive.Contracts.Response SetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state) {
|
---|
1030 | return base.Channel.SetCalendarStatus(clientId, state);
|
---|
1031 | }
|
---|
1032 |
|
---|
1033 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1034 | public System.IAsyncResult BeginSetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, System.AsyncCallback callback, object asyncState) {
|
---|
1035 | return base.Channel.BeginSetCalendarStatus(clientId, state, callback, asyncState);
|
---|
1036 | }
|
---|
1037 |
|
---|
1038 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1039 | public HeuristicLab.Hive.Contracts.Response EndSetCalendarStatus(System.IAsyncResult result) {
|
---|
1040 | return base.Channel.EndSetCalendarStatus(result);
|
---|
1041 | }
|
---|
1042 |
|
---|
1043 | private System.IAsyncResult OnBeginSetCalendarStatus(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1044 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
1045 | HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state = ((HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState)(inValues[1]));
|
---|
1046 | return this.BeginSetCalendarStatus(clientId, state, callback, asyncState);
|
---|
1047 | }
|
---|
1048 |
|
---|
1049 | private object[] OnEndSetCalendarStatus(System.IAsyncResult result) {
|
---|
1050 | HeuristicLab.Hive.Contracts.Response retVal = this.EndSetCalendarStatus(result);
|
---|
1051 | return new object[] {
|
---|
1052 | retVal};
|
---|
1053 | }
|
---|
1054 |
|
---|
1055 | private void OnSetCalendarStatusCompleted(object state) {
|
---|
1056 | if ((this.SetCalendarStatusCompleted != null)) {
|
---|
1057 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1058 | this.SetCalendarStatusCompleted(this, new SetCalendarStatusCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1059 | }
|
---|
1060 | }
|
---|
1061 |
|
---|
1062 | public void SetCalendarStatusAsync(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state) {
|
---|
1063 | this.SetCalendarStatusAsync(clientId, state, null);
|
---|
1064 | }
|
---|
1065 |
|
---|
1066 | public void SetCalendarStatusAsync(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, object userState) {
|
---|
1067 | if ((this.onBeginSetCalendarStatusDelegate == null)) {
|
---|
1068 | this.onBeginSetCalendarStatusDelegate = new BeginOperationDelegate(this.OnBeginSetCalendarStatus);
|
---|
1069 | }
|
---|
1070 | if ((this.onEndSetCalendarStatusDelegate == null)) {
|
---|
1071 | this.onEndSetCalendarStatusDelegate = new EndOperationDelegate(this.OnEndSetCalendarStatus);
|
---|
1072 | }
|
---|
1073 | if ((this.onSetCalendarStatusCompletedDelegate == null)) {
|
---|
1074 | this.onSetCalendarStatusCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetCalendarStatusCompleted);
|
---|
1075 | }
|
---|
1076 | base.InvokeAsync(this.onBeginSetCalendarStatusDelegate, new object[] {
|
---|
1077 | clientId,
|
---|
1078 | state}, this.onEndSetCalendarStatusDelegate, this.onSetCalendarStatusCompletedDelegate, userState);
|
---|
1079 | }
|
---|
1080 |
|
---|
1081 | public System.IO.Stream SendStreamedJob(System.Guid clientId) {
|
---|
1082 | return base.Channel.SendStreamedJob(clientId);
|
---|
1083 | }
|
---|
1084 |
|
---|
1085 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1086 | public System.IAsyncResult BeginSendStreamedJob(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
|
---|
1087 | return base.Channel.BeginSendStreamedJob(clientId, callback, asyncState);
|
---|
1088 | }
|
---|
1089 |
|
---|
1090 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1091 | public System.IO.Stream EndSendStreamedJob(System.IAsyncResult result) {
|
---|
1092 | return base.Channel.EndSendStreamedJob(result);
|
---|
1093 | }
|
---|
1094 |
|
---|
1095 | private System.IAsyncResult OnBeginSendStreamedJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1096 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
1097 | return this.BeginSendStreamedJob(clientId, callback, asyncState);
|
---|
1098 | }
|
---|
1099 |
|
---|
1100 | private object[] OnEndSendStreamedJob(System.IAsyncResult result) {
|
---|
1101 | System.IO.Stream retVal = this.EndSendStreamedJob(result);
|
---|
1102 | return new object[] {
|
---|
1103 | retVal};
|
---|
1104 | }
|
---|
1105 |
|
---|
1106 | private void OnSendStreamedJobCompleted(object state) {
|
---|
1107 | if ((this.SendStreamedJobCompleted != null)) {
|
---|
1108 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1109 | this.SendStreamedJobCompleted(this, new SendStreamedJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1110 | }
|
---|
1111 | }
|
---|
1112 |
|
---|
1113 | public void SendStreamedJobAsync(System.Guid clientId) {
|
---|
1114 | this.SendStreamedJobAsync(clientId, null);
|
---|
1115 | }
|
---|
1116 |
|
---|
1117 | public void SendStreamedJobAsync(System.Guid clientId, object userState) {
|
---|
1118 | if ((this.onBeginSendStreamedJobDelegate == null)) {
|
---|
1119 | this.onBeginSendStreamedJobDelegate = new BeginOperationDelegate(this.OnBeginSendStreamedJob);
|
---|
1120 | }
|
---|
1121 | if ((this.onEndSendStreamedJobDelegate == null)) {
|
---|
1122 | this.onEndSendStreamedJobDelegate = new EndOperationDelegate(this.OnEndSendStreamedJob);
|
---|
1123 | }
|
---|
1124 | if ((this.onSendStreamedJobCompletedDelegate == null)) {
|
---|
1125 | this.onSendStreamedJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendStreamedJobCompleted);
|
---|
1126 | }
|
---|
1127 | base.InvokeAsync(this.onBeginSendStreamedJobDelegate, new object[] {
|
---|
1128 | clientId}, this.onEndSendStreamedJobDelegate, this.onSendStreamedJobCompletedDelegate, userState);
|
---|
1129 | }
|
---|
1130 |
|
---|
1131 | public System.IO.Stream SendStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList) {
|
---|
1132 | return base.Channel.SendStreamedPlugins(pluginList);
|
---|
1133 | }
|
---|
1134 |
|
---|
1135 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1136 | public System.IAsyncResult BeginSendStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, System.AsyncCallback callback, object asyncState) {
|
---|
1137 | return base.Channel.BeginSendStreamedPlugins(pluginList, callback, asyncState);
|
---|
1138 | }
|
---|
1139 |
|
---|
1140 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1141 | public System.IO.Stream EndSendStreamedPlugins(System.IAsyncResult result) {
|
---|
1142 | return base.Channel.EndSendStreamedPlugins(result);
|
---|
1143 | }
|
---|
1144 |
|
---|
1145 | private System.IAsyncResult OnBeginSendStreamedPlugins(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1146 | HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList = ((HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[])(inValues[0]));
|
---|
1147 | return this.BeginSendStreamedPlugins(pluginList, callback, asyncState);
|
---|
1148 | }
|
---|
1149 |
|
---|
1150 | private object[] OnEndSendStreamedPlugins(System.IAsyncResult result) {
|
---|
1151 | System.IO.Stream retVal = this.EndSendStreamedPlugins(result);
|
---|
1152 | return new object[] {
|
---|
1153 | retVal};
|
---|
1154 | }
|
---|
1155 |
|
---|
1156 | private void OnSendStreamedPluginsCompleted(object state) {
|
---|
1157 | if ((this.SendStreamedPluginsCompleted != null)) {
|
---|
1158 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1159 | this.SendStreamedPluginsCompleted(this, new SendStreamedPluginsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1160 | }
|
---|
1161 | }
|
---|
1162 |
|
---|
1163 | public void SendStreamedPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList) {
|
---|
1164 | this.SendStreamedPluginsAsync(pluginList, null);
|
---|
1165 | }
|
---|
1166 |
|
---|
1167 | public void SendStreamedPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, object userState) {
|
---|
1168 | if ((this.onBeginSendStreamedPluginsDelegate == null)) {
|
---|
1169 | this.onBeginSendStreamedPluginsDelegate = new BeginOperationDelegate(this.OnBeginSendStreamedPlugins);
|
---|
1170 | }
|
---|
1171 | if ((this.onEndSendStreamedPluginsDelegate == null)) {
|
---|
1172 | this.onEndSendStreamedPluginsDelegate = new EndOperationDelegate(this.OnEndSendStreamedPlugins);
|
---|
1173 | }
|
---|
1174 | if ((this.onSendStreamedPluginsCompletedDelegate == null)) {
|
---|
1175 | this.onSendStreamedPluginsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendStreamedPluginsCompleted);
|
---|
1176 | }
|
---|
1177 | base.InvokeAsync(this.onBeginSendStreamedPluginsDelegate, new object[] {
|
---|
1178 | pluginList}, this.onEndSendStreamedPluginsDelegate, this.onSendStreamedPluginsCompletedDelegate, userState);
|
---|
1179 | }
|
---|
1180 |
|
---|
1181 | public HeuristicLab.Hive.Contracts.ResponseResultReceived StoreFinishedJobResultStreamed(System.IO.Stream stream) {
|
---|
1182 | return base.Channel.StoreFinishedJobResultStreamed(stream);
|
---|
1183 | }
|
---|
1184 |
|
---|
1185 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1186 | public System.IAsyncResult BeginStoreFinishedJobResultStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState) {
|
---|
1187 | return base.Channel.BeginStoreFinishedJobResultStreamed(stream, callback, asyncState);
|
---|
1188 | }
|
---|
1189 |
|
---|
1190 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1191 | public HeuristicLab.Hive.Contracts.ResponseResultReceived EndStoreFinishedJobResultStreamed(System.IAsyncResult result) {
|
---|
1192 | return base.Channel.EndStoreFinishedJobResultStreamed(result);
|
---|
1193 | }
|
---|
1194 |
|
---|
1195 | private System.IAsyncResult OnBeginStoreFinishedJobResultStreamed(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1196 | System.IO.Stream stream = ((System.IO.Stream)(inValues[0]));
|
---|
1197 | return this.BeginStoreFinishedJobResultStreamed(stream, callback, asyncState);
|
---|
1198 | }
|
---|
1199 |
|
---|
1200 | private object[] OnEndStoreFinishedJobResultStreamed(System.IAsyncResult result) {
|
---|
1201 | HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndStoreFinishedJobResultStreamed(result);
|
---|
1202 | return new object[] {
|
---|
1203 | retVal};
|
---|
1204 | }
|
---|
1205 |
|
---|
1206 | private void OnStoreFinishedJobResultStreamedCompleted(object state) {
|
---|
1207 | if ((this.StoreFinishedJobResultStreamedCompleted != null)) {
|
---|
1208 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1209 | this.StoreFinishedJobResultStreamedCompleted(this, new StoreFinishedJobResultStreamedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1210 | }
|
---|
1211 | }
|
---|
1212 |
|
---|
1213 | public void StoreFinishedJobResultStreamedAsync(System.IO.Stream stream) {
|
---|
1214 | this.StoreFinishedJobResultStreamedAsync(stream, null);
|
---|
1215 | }
|
---|
1216 |
|
---|
1217 | public void StoreFinishedJobResultStreamedAsync(System.IO.Stream stream, object userState) {
|
---|
1218 | if ((this.onBeginStoreFinishedJobResultStreamedDelegate == null)) {
|
---|
1219 | this.onBeginStoreFinishedJobResultStreamedDelegate = new BeginOperationDelegate(this.OnBeginStoreFinishedJobResultStreamed);
|
---|
1220 | }
|
---|
1221 | if ((this.onEndStoreFinishedJobResultStreamedDelegate == null)) {
|
---|
1222 | this.onEndStoreFinishedJobResultStreamedDelegate = new EndOperationDelegate(this.OnEndStoreFinishedJobResultStreamed);
|
---|
1223 | }
|
---|
1224 | if ((this.onStoreFinishedJobResultStreamedCompletedDelegate == null)) {
|
---|
1225 | this.onStoreFinishedJobResultStreamedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStoreFinishedJobResultStreamedCompleted);
|
---|
1226 | }
|
---|
1227 | base.InvokeAsync(this.onBeginStoreFinishedJobResultStreamedDelegate, new object[] {
|
---|
1228 | stream}, this.onEndStoreFinishedJobResultStreamedDelegate, this.onStoreFinishedJobResultStreamedCompletedDelegate, userState);
|
---|
1229 | }
|
---|
1230 |
|
---|
1231 | public HeuristicLab.Hive.Contracts.ResponseResultReceived ProcessSnapshotStreamed(System.IO.Stream stream) {
|
---|
1232 | return base.Channel.ProcessSnapshotStreamed(stream);
|
---|
1233 | }
|
---|
1234 |
|
---|
1235 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1236 | public System.IAsyncResult BeginProcessSnapshotStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState) {
|
---|
1237 | return base.Channel.BeginProcessSnapshotStreamed(stream, callback, asyncState);
|
---|
1238 | }
|
---|
1239 |
|
---|
1240 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1241 | public HeuristicLab.Hive.Contracts.ResponseResultReceived EndProcessSnapshotStreamed(System.IAsyncResult result) {
|
---|
1242 | return base.Channel.EndProcessSnapshotStreamed(result);
|
---|
1243 | }
|
---|
1244 |
|
---|
1245 | private System.IAsyncResult OnBeginProcessSnapshotStreamed(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1246 | System.IO.Stream stream = ((System.IO.Stream)(inValues[0]));
|
---|
1247 | return this.BeginProcessSnapshotStreamed(stream, callback, asyncState);
|
---|
1248 | }
|
---|
1249 |
|
---|
1250 | private object[] OnEndProcessSnapshotStreamed(System.IAsyncResult result) {
|
---|
1251 | HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndProcessSnapshotStreamed(result);
|
---|
1252 | return new object[] {
|
---|
1253 | retVal};
|
---|
1254 | }
|
---|
1255 |
|
---|
1256 | private void OnProcessSnapshotStreamedCompleted(object state) {
|
---|
1257 | if ((this.ProcessSnapshotStreamedCompleted != null)) {
|
---|
1258 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1259 | this.ProcessSnapshotStreamedCompleted(this, new ProcessSnapshotStreamedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1260 | }
|
---|
1261 | }
|
---|
1262 |
|
---|
1263 | public void ProcessSnapshotStreamedAsync(System.IO.Stream stream) {
|
---|
1264 | this.ProcessSnapshotStreamedAsync(stream, null);
|
---|
1265 | }
|
---|
1266 |
|
---|
1267 | public void ProcessSnapshotStreamedAsync(System.IO.Stream stream, object userState) {
|
---|
1268 | if ((this.onBeginProcessSnapshotStreamedDelegate == null)) {
|
---|
1269 | this.onBeginProcessSnapshotStreamedDelegate = new BeginOperationDelegate(this.OnBeginProcessSnapshotStreamed);
|
---|
1270 | }
|
---|
1271 | if ((this.onEndProcessSnapshotStreamedDelegate == null)) {
|
---|
1272 | this.onEndProcessSnapshotStreamedDelegate = new EndOperationDelegate(this.OnEndProcessSnapshotStreamed);
|
---|
1273 | }
|
---|
1274 | if ((this.onProcessSnapshotStreamedCompletedDelegate == null)) {
|
---|
1275 | this.onProcessSnapshotStreamedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessSnapshotStreamedCompleted);
|
---|
1276 | }
|
---|
1277 | base.InvokeAsync(this.onBeginProcessSnapshotStreamedDelegate, new object[] {
|
---|
1278 | stream}, this.onEndProcessSnapshotStreamedDelegate, this.onProcessSnapshotStreamedCompletedDelegate, userState);
|
---|
1279 | }
|
---|
1280 | }
|
---|
1281 | }
|
---|