1 | //------------------------------------------------------------------------------
|
---|
2 | // <auto-generated>
|
---|
3 | // This code was generated by a tool.
|
---|
4 | // Runtime Version:4.0.30319.1
|
---|
5 | //
|
---|
6 | // Changes to this file may cause incorrect behavior and will be lost if
|
---|
7 | // the code is regenerated.
|
---|
8 | // </auto-generated>
|
---|
9 | //------------------------------------------------------------------------------
|
---|
10 |
|
---|
11 | namespace HeuristicLab.Hive.Slave.Communication.SlaveFacade {
|
---|
12 |
|
---|
13 |
|
---|
14 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
15 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SlaveFacade.ISlaveFacade")]
|
---|
16 | public interface ISlaveFacade {
|
---|
17 |
|
---|
18 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/Login", ReplyAction="http://tempuri.org/ISlaveCommunicator/LoginResponse")]
|
---|
19 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat))]
|
---|
20 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto>))]
|
---|
21 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived))]
|
---|
22 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto>))]
|
---|
23 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar))]
|
---|
24 | HeuristicLab.Hive.Contracts.ResponseObjects.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto slave);
|
---|
25 |
|
---|
26 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/Login", ReplyAction="http://tempuri.org/ISlaveCommunicator/LoginResponse")]
|
---|
27 | System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto slave, System.AsyncCallback callback, object asyncState);
|
---|
28 |
|
---|
29 | HeuristicLab.Hive.Contracts.ResponseObjects.Response EndLogin(System.IAsyncResult result);
|
---|
30 |
|
---|
31 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/ProcessHeartBeat", ReplyAction="http://tempuri.org/ISlaveCommunicator/ProcessHeartBeatResponse")]
|
---|
32 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat ProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData);
|
---|
33 |
|
---|
34 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/ProcessHeartBeat", ReplyAction="http://tempuri.org/ISlaveCommunicator/ProcessHeartBeatResponse")]
|
---|
35 | System.IAsyncResult BeginProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, System.AsyncCallback callback, object asyncState);
|
---|
36 |
|
---|
37 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat EndProcessHeartBeat(System.IAsyncResult result);
|
---|
38 |
|
---|
39 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/GetJob", ReplyAction="http://tempuri.org/ISlaveCommunicator/GetJobResponse")]
|
---|
40 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> GetJob(System.Guid clientId);
|
---|
41 |
|
---|
42 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/GetJob", ReplyAction="http://tempuri.org/ISlaveCommunicator/GetJobResponse")]
|
---|
43 | System.IAsyncResult BeginGetJob(System.Guid clientId, System.AsyncCallback callback, object asyncState);
|
---|
44 |
|
---|
45 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> EndGetJob(System.IAsyncResult result);
|
---|
46 |
|
---|
47 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/StoreFinishedJobResult", ReplyAction="http://tempuri.org/ISlaveCommunicator/StoreFinishedJobResultResponse")]
|
---|
48 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived StoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception);
|
---|
49 |
|
---|
50 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/StoreFinishedJobResult", ReplyAction="http://tempuri.org/ISlaveCommunicator/StoreFinishedJobResultResponse")]
|
---|
51 | System.IAsyncResult BeginStoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception, System.AsyncCallback callback, object asyncState);
|
---|
52 |
|
---|
53 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived EndStoreFinishedJobResult(System.IAsyncResult result);
|
---|
54 |
|
---|
55 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/ProcessSnapshot", ReplyAction="http://tempuri.org/ISlaveCommunicator/ProcessSnapshotResponse")]
|
---|
56 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived ProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception);
|
---|
57 |
|
---|
58 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/ProcessSnapshot", ReplyAction="http://tempuri.org/ISlaveCommunicator/ProcessSnapshotResponse")]
|
---|
59 | System.IAsyncResult BeginProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception, System.AsyncCallback callback, object asyncState);
|
---|
60 |
|
---|
61 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived EndProcessSnapshot(System.IAsyncResult result);
|
---|
62 |
|
---|
63 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/Logout", ReplyAction="http://tempuri.org/ISlaveCommunicator/LogoutResponse")]
|
---|
64 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat))]
|
---|
65 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto>))]
|
---|
66 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived))]
|
---|
67 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto>))]
|
---|
68 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar))]
|
---|
69 | HeuristicLab.Hive.Contracts.ResponseObjects.Response Logout(System.Guid clientId);
|
---|
70 |
|
---|
71 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/Logout", ReplyAction="http://tempuri.org/ISlaveCommunicator/LogoutResponse")]
|
---|
72 | System.IAsyncResult BeginLogout(System.Guid clientId, System.AsyncCallback callback, object asyncState);
|
---|
73 |
|
---|
74 | HeuristicLab.Hive.Contracts.ResponseObjects.Response EndLogout(System.IAsyncResult result);
|
---|
75 |
|
---|
76 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/IsJobStillNeeded", ReplyAction="http://tempuri.org/ISlaveCommunicator/IsJobStillNeededResponse")]
|
---|
77 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat))]
|
---|
78 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto>))]
|
---|
79 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived))]
|
---|
80 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto>))]
|
---|
81 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar))]
|
---|
82 | HeuristicLab.Hive.Contracts.ResponseObjects.Response IsJobStillNeeded(System.Guid jobId);
|
---|
83 |
|
---|
84 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/IsJobStillNeeded", ReplyAction="http://tempuri.org/ISlaveCommunicator/IsJobStillNeededResponse")]
|
---|
85 | System.IAsyncResult BeginIsJobStillNeeded(System.Guid jobId, System.AsyncCallback callback, object asyncState);
|
---|
86 |
|
---|
87 | HeuristicLab.Hive.Contracts.ResponseObjects.Response EndIsJobStillNeeded(System.IAsyncResult result);
|
---|
88 |
|
---|
89 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/GetPlugins", ReplyAction="http://tempuri.org/ISlaveCommunicator/GetPluginsResponse")]
|
---|
90 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto> GetPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList);
|
---|
91 |
|
---|
92 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/GetPlugins", ReplyAction="http://tempuri.org/ISlaveCommunicator/GetPluginsResponse")]
|
---|
93 | System.IAsyncResult BeginGetPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, System.AsyncCallback callback, object asyncState);
|
---|
94 |
|
---|
95 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto> EndGetPlugins(System.IAsyncResult result);
|
---|
96 |
|
---|
97 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/GetCalendar", ReplyAction="http://tempuri.org/ISlaveCommunicator/GetCalendarResponse")]
|
---|
98 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar GetCalendar(System.Guid clientId);
|
---|
99 |
|
---|
100 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/GetCalendar", ReplyAction="http://tempuri.org/ISlaveCommunicator/GetCalendarResponse")]
|
---|
101 | System.IAsyncResult BeginGetCalendar(System.Guid clientId, System.AsyncCallback callback, object asyncState);
|
---|
102 |
|
---|
103 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar EndGetCalendar(System.IAsyncResult result);
|
---|
104 |
|
---|
105 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveCommunicator/SetCalendarStatus", ReplyAction="http://tempuri.org/ISlaveCommunicator/SetCalendarStatusResponse")]
|
---|
106 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat))]
|
---|
107 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto>))]
|
---|
108 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived))]
|
---|
109 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto>))]
|
---|
110 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar))]
|
---|
111 | HeuristicLab.Hive.Contracts.ResponseObjects.Response SetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state);
|
---|
112 |
|
---|
113 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/SetCalendarStatus", ReplyAction="http://tempuri.org/ISlaveCommunicator/SetCalendarStatusResponse")]
|
---|
114 | System.IAsyncResult BeginSetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, System.AsyncCallback callback, object asyncState);
|
---|
115 |
|
---|
116 | HeuristicLab.Hive.Contracts.ResponseObjects.Response EndSetCalendarStatus(System.IAsyncResult result);
|
---|
117 |
|
---|
118 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/GetStreamedJob", ReplyAction="http://tempuri.org/ISlaveFacade/GetStreamedJobResponse")]
|
---|
119 | System.IO.Stream GetStreamedJob(System.Guid clientId);
|
---|
120 |
|
---|
121 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/GetStreamedJob", ReplyAction="http://tempuri.org/ISlaveFacade/GetStreamedJobResponse")]
|
---|
122 | System.IAsyncResult BeginGetStreamedJob(System.Guid clientId, System.AsyncCallback callback, object asyncState);
|
---|
123 |
|
---|
124 | System.IO.Stream EndGetStreamedJob(System.IAsyncResult result);
|
---|
125 |
|
---|
126 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/GetStreamedPlugins", ReplyAction="http://tempuri.org/ISlaveFacade/GetStreamedPluginsResponse")]
|
---|
127 | System.IO.Stream GetStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList);
|
---|
128 |
|
---|
129 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/GetStreamedPlugins", ReplyAction="http://tempuri.org/ISlaveFacade/GetStreamedPluginsResponse")]
|
---|
130 | System.IAsyncResult BeginGetStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, System.AsyncCallback callback, object asyncState);
|
---|
131 |
|
---|
132 | System.IO.Stream EndGetStreamedPlugins(System.IAsyncResult result);
|
---|
133 |
|
---|
134 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/StoreFinishedJobResultStreamed", ReplyAction="http://tempuri.org/ISlaveFacade/StoreFinishedJobResultStreamedResponse")]
|
---|
135 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived StoreFinishedJobResultStreamed(System.IO.Stream stream);
|
---|
136 |
|
---|
137 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/StoreFinishedJobResultStreamed", ReplyAction="http://tempuri.org/ISlaveFacade/StoreFinishedJobResultStreamedResponse")]
|
---|
138 | System.IAsyncResult BeginStoreFinishedJobResultStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState);
|
---|
139 |
|
---|
140 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived EndStoreFinishedJobResultStreamed(System.IAsyncResult result);
|
---|
141 |
|
---|
142 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/ProcessSnapshotStreamed", ReplyAction="http://tempuri.org/ISlaveFacade/ProcessSnapshotStreamedResponse")]
|
---|
143 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived ProcessSnapshotStreamed(System.IO.Stream stream);
|
---|
144 |
|
---|
145 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/ProcessSnapshotStreamed", ReplyAction="http://tempuri.org/ISlaveFacade/ProcessSnapshotStreamedResponse")]
|
---|
146 | System.IAsyncResult BeginProcessSnapshotStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState);
|
---|
147 |
|
---|
148 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived EndProcessSnapshotStreamed(System.IAsyncResult result);
|
---|
149 |
|
---|
150 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/AddChildJob", ReplyAction="http://tempuri.org/ISlaveFacade/AddChildJobResponse")]
|
---|
151 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> AddChildJob(System.Guid parentJobId, HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob);
|
---|
152 |
|
---|
153 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/AddChildJob", ReplyAction="http://tempuri.org/ISlaveFacade/AddChildJobResponse")]
|
---|
154 | System.IAsyncResult BeginAddChildJob(System.Guid parentJobId, HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob, System.AsyncCallback callback, object asyncState);
|
---|
155 |
|
---|
156 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> EndAddChildJob(System.IAsyncResult result);
|
---|
157 |
|
---|
158 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/PauseJob", ReplyAction="http://tempuri.org/ISlaveFacade/PauseJobResponse")]
|
---|
159 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> PauseJob(HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob);
|
---|
160 |
|
---|
161 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/PauseJob", ReplyAction="http://tempuri.org/ISlaveFacade/PauseJobResponse")]
|
---|
162 | System.IAsyncResult BeginPauseJob(HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob, System.AsyncCallback callback, object asyncState);
|
---|
163 |
|
---|
164 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> EndPauseJob(System.IAsyncResult result);
|
---|
165 |
|
---|
166 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/GetChildJobResults", ReplyAction="http://tempuri.org/ISlaveFacade/GetChildJobResultsResponse")]
|
---|
167 | HeuristicLab.Hive.Contracts.BusinessObjects.JobResult[] GetChildJobResults(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent);
|
---|
168 |
|
---|
169 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/GetChildJobResults", ReplyAction="http://tempuri.org/ISlaveFacade/GetChildJobResultsResponse")]
|
---|
170 | System.IAsyncResult BeginGetChildJobResults(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent, System.AsyncCallback callback, object asyncState);
|
---|
171 |
|
---|
172 | HeuristicLab.Hive.Contracts.BusinessObjects.JobResult[] EndGetChildJobResults(System.IAsyncResult result);
|
---|
173 |
|
---|
174 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/GetLastSerializedResult", ReplyAction="http://tempuri.org/ISlaveFacade/GetLastSerializedResultResponse")]
|
---|
175 | HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob GetLastSerializedResult(System.Guid jobId);
|
---|
176 |
|
---|
177 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/GetLastSerializedResult", ReplyAction="http://tempuri.org/ISlaveFacade/GetLastSerializedResultResponse")]
|
---|
178 | System.IAsyncResult BeginGetLastSerializedResult(System.Guid jobId, System.AsyncCallback callback, object asyncState);
|
---|
179 |
|
---|
180 | HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob EndGetLastSerializedResult(System.IAsyncResult result);
|
---|
181 |
|
---|
182 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveFacade/DeleteChildJobs", ReplyAction="http://tempuri.org/ISlaveFacade/DeleteChildJobsResponse")]
|
---|
183 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat))]
|
---|
184 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto>))]
|
---|
185 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived))]
|
---|
186 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto>))]
|
---|
187 | [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar))]
|
---|
188 | HeuristicLab.Hive.Contracts.ResponseObjects.Response DeleteChildJobs(System.Guid jobId);
|
---|
189 |
|
---|
190 | [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveFacade/DeleteChildJobs", ReplyAction="http://tempuri.org/ISlaveFacade/DeleteChildJobsResponse")]
|
---|
191 | System.IAsyncResult BeginDeleteChildJobs(System.Guid jobId, System.AsyncCallback callback, object asyncState);
|
---|
192 |
|
---|
193 | HeuristicLab.Hive.Contracts.ResponseObjects.Response EndDeleteChildJobs(System.IAsyncResult result);
|
---|
194 | }
|
---|
195 |
|
---|
196 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
197 | public interface ISlaveFacadeChannel : HeuristicLab.Hive.Slave.Communication.SlaveFacade.ISlaveFacade, System.ServiceModel.IClientChannel {
|
---|
198 | }
|
---|
199 |
|
---|
200 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
201 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
202 | public partial class LoginCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
203 |
|
---|
204 | private object[] results;
|
---|
205 |
|
---|
206 | public LoginCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
207 | base(exception, cancelled, userState) {
|
---|
208 | this.results = results;
|
---|
209 | }
|
---|
210 |
|
---|
211 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response Result {
|
---|
212 | get {
|
---|
213 | base.RaiseExceptionIfNecessary();
|
---|
214 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.Response)(this.results[0]));
|
---|
215 | }
|
---|
216 | }
|
---|
217 | }
|
---|
218 |
|
---|
219 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
220 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
221 | public partial class ProcessHeartBeatCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
222 |
|
---|
223 | private object[] results;
|
---|
224 |
|
---|
225 | public ProcessHeartBeatCompletedEventArgs(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.ResponseObjects.ResponseHeartBeat Result {
|
---|
231 | get {
|
---|
232 | base.RaiseExceptionIfNecessary();
|
---|
233 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat)(this.results[0]));
|
---|
234 | }
|
---|
235 | }
|
---|
236 | }
|
---|
237 |
|
---|
238 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
239 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
240 | public partial class GetJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
241 |
|
---|
242 | private object[] results;
|
---|
243 |
|
---|
244 | public GetJobCompletedEventArgs(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.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> Result {
|
---|
250 | get {
|
---|
251 | base.RaiseExceptionIfNecessary();
|
---|
252 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto>)(this.results[0]));
|
---|
253 | }
|
---|
254 | }
|
---|
255 | }
|
---|
256 |
|
---|
257 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
258 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
259 | public partial class StoreFinishedJobResultCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
260 |
|
---|
261 | private object[] results;
|
---|
262 |
|
---|
263 | public StoreFinishedJobResultCompletedEventArgs(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.ResponseObjects.ResponseResultReceived Result {
|
---|
269 | get {
|
---|
270 | base.RaiseExceptionIfNecessary();
|
---|
271 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived)(this.results[0]));
|
---|
272 | }
|
---|
273 | }
|
---|
274 | }
|
---|
275 |
|
---|
276 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
277 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
278 | public partial class ProcessSnapshotCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
279 |
|
---|
280 | private object[] results;
|
---|
281 |
|
---|
282 | public ProcessSnapshotCompletedEventArgs(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.ResponseObjects.ResponseResultReceived Result {
|
---|
288 | get {
|
---|
289 | base.RaiseExceptionIfNecessary();
|
---|
290 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived)(this.results[0]));
|
---|
291 | }
|
---|
292 | }
|
---|
293 | }
|
---|
294 |
|
---|
295 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
296 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
297 | public partial class LogoutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
298 |
|
---|
299 | private object[] results;
|
---|
300 |
|
---|
301 | public LogoutCompletedEventArgs(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.ResponseObjects.Response Result {
|
---|
307 | get {
|
---|
308 | base.RaiseExceptionIfNecessary();
|
---|
309 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.Response)(this.results[0]));
|
---|
310 | }
|
---|
311 | }
|
---|
312 | }
|
---|
313 |
|
---|
314 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
315 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
316 | public partial class IsJobStillNeededCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
317 |
|
---|
318 | private object[] results;
|
---|
319 |
|
---|
320 | public IsJobStillNeededCompletedEventArgs(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.ResponseObjects.Response Result {
|
---|
326 | get {
|
---|
327 | base.RaiseExceptionIfNecessary();
|
---|
328 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.Response)(this.results[0]));
|
---|
329 | }
|
---|
330 | }
|
---|
331 | }
|
---|
332 |
|
---|
333 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
334 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
335 | public partial class GetPluginsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
336 |
|
---|
337 | private object[] results;
|
---|
338 |
|
---|
339 | public GetPluginsCompletedEventArgs(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.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto> Result {
|
---|
345 | get {
|
---|
346 | base.RaiseExceptionIfNecessary();
|
---|
347 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto>)(this.results[0]));
|
---|
348 | }
|
---|
349 | }
|
---|
350 | }
|
---|
351 |
|
---|
352 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
353 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
354 | public partial class GetCalendarCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
355 |
|
---|
356 | private object[] results;
|
---|
357 |
|
---|
358 | public GetCalendarCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
359 | base(exception, cancelled, userState) {
|
---|
360 | this.results = results;
|
---|
361 | }
|
---|
362 |
|
---|
363 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar Result {
|
---|
364 | get {
|
---|
365 | base.RaiseExceptionIfNecessary();
|
---|
366 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar)(this.results[0]));
|
---|
367 | }
|
---|
368 | }
|
---|
369 | }
|
---|
370 |
|
---|
371 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
372 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
373 | public partial class SetCalendarStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
374 |
|
---|
375 | private object[] results;
|
---|
376 |
|
---|
377 | public SetCalendarStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
378 | base(exception, cancelled, userState) {
|
---|
379 | this.results = results;
|
---|
380 | }
|
---|
381 |
|
---|
382 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response Result {
|
---|
383 | get {
|
---|
384 | base.RaiseExceptionIfNecessary();
|
---|
385 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.Response)(this.results[0]));
|
---|
386 | }
|
---|
387 | }
|
---|
388 | }
|
---|
389 |
|
---|
390 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
391 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
392 | public partial class GetStreamedJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
393 |
|
---|
394 | private object[] results;
|
---|
395 |
|
---|
396 | public GetStreamedJobCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
397 | base(exception, cancelled, userState) {
|
---|
398 | this.results = results;
|
---|
399 | }
|
---|
400 |
|
---|
401 | public System.IO.Stream Result {
|
---|
402 | get {
|
---|
403 | base.RaiseExceptionIfNecessary();
|
---|
404 | return ((System.IO.Stream)(this.results[0]));
|
---|
405 | }
|
---|
406 | }
|
---|
407 | }
|
---|
408 |
|
---|
409 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
410 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
411 | public partial class GetStreamedPluginsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
412 |
|
---|
413 | private object[] results;
|
---|
414 |
|
---|
415 | public GetStreamedPluginsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
416 | base(exception, cancelled, userState) {
|
---|
417 | this.results = results;
|
---|
418 | }
|
---|
419 |
|
---|
420 | public System.IO.Stream Result {
|
---|
421 | get {
|
---|
422 | base.RaiseExceptionIfNecessary();
|
---|
423 | return ((System.IO.Stream)(this.results[0]));
|
---|
424 | }
|
---|
425 | }
|
---|
426 | }
|
---|
427 |
|
---|
428 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
429 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
430 | public partial class StoreFinishedJobResultStreamedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
431 |
|
---|
432 | private object[] results;
|
---|
433 |
|
---|
434 | public StoreFinishedJobResultStreamedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
435 | base(exception, cancelled, userState) {
|
---|
436 | this.results = results;
|
---|
437 | }
|
---|
438 |
|
---|
439 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived Result {
|
---|
440 | get {
|
---|
441 | base.RaiseExceptionIfNecessary();
|
---|
442 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived)(this.results[0]));
|
---|
443 | }
|
---|
444 | }
|
---|
445 | }
|
---|
446 |
|
---|
447 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
448 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
449 | public partial class ProcessSnapshotStreamedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
450 |
|
---|
451 | private object[] results;
|
---|
452 |
|
---|
453 | public ProcessSnapshotStreamedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
454 | base(exception, cancelled, userState) {
|
---|
455 | this.results = results;
|
---|
456 | }
|
---|
457 |
|
---|
458 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived Result {
|
---|
459 | get {
|
---|
460 | base.RaiseExceptionIfNecessary();
|
---|
461 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived)(this.results[0]));
|
---|
462 | }
|
---|
463 | }
|
---|
464 | }
|
---|
465 |
|
---|
466 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
467 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
468 | public partial class AddChildJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
469 |
|
---|
470 | private object[] results;
|
---|
471 |
|
---|
472 | public AddChildJobCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
473 | base(exception, cancelled, userState) {
|
---|
474 | this.results = results;
|
---|
475 | }
|
---|
476 |
|
---|
477 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> Result {
|
---|
478 | get {
|
---|
479 | base.RaiseExceptionIfNecessary();
|
---|
480 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto>)(this.results[0]));
|
---|
481 | }
|
---|
482 | }
|
---|
483 | }
|
---|
484 |
|
---|
485 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
486 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
487 | public partial class PauseJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
488 |
|
---|
489 | private object[] results;
|
---|
490 |
|
---|
491 | public PauseJobCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
492 | base(exception, cancelled, userState) {
|
---|
493 | this.results = results;
|
---|
494 | }
|
---|
495 |
|
---|
496 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> Result {
|
---|
497 | get {
|
---|
498 | base.RaiseExceptionIfNecessary();
|
---|
499 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto>)(this.results[0]));
|
---|
500 | }
|
---|
501 | }
|
---|
502 | }
|
---|
503 |
|
---|
504 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
505 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
506 | public partial class GetChildJobResultsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
507 |
|
---|
508 | private object[] results;
|
---|
509 |
|
---|
510 | public GetChildJobResultsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
511 | base(exception, cancelled, userState) {
|
---|
512 | this.results = results;
|
---|
513 | }
|
---|
514 |
|
---|
515 | public HeuristicLab.Hive.Contracts.BusinessObjects.JobResult[] Result {
|
---|
516 | get {
|
---|
517 | base.RaiseExceptionIfNecessary();
|
---|
518 | return ((HeuristicLab.Hive.Contracts.BusinessObjects.JobResult[])(this.results[0]));
|
---|
519 | }
|
---|
520 | }
|
---|
521 | }
|
---|
522 |
|
---|
523 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
524 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
525 | public partial class GetLastSerializedResultCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
526 |
|
---|
527 | private object[] results;
|
---|
528 |
|
---|
529 | public GetLastSerializedResultCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
530 | base(exception, cancelled, userState) {
|
---|
531 | this.results = results;
|
---|
532 | }
|
---|
533 |
|
---|
534 | public HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob Result {
|
---|
535 | get {
|
---|
536 | base.RaiseExceptionIfNecessary();
|
---|
537 | return ((HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob)(this.results[0]));
|
---|
538 | }
|
---|
539 | }
|
---|
540 | }
|
---|
541 |
|
---|
542 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
543 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
544 | public partial class DeleteChildJobsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
545 |
|
---|
546 | private object[] results;
|
---|
547 |
|
---|
548 | public DeleteChildJobsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
549 | base(exception, cancelled, userState) {
|
---|
550 | this.results = results;
|
---|
551 | }
|
---|
552 |
|
---|
553 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response Result {
|
---|
554 | get {
|
---|
555 | base.RaiseExceptionIfNecessary();
|
---|
556 | return ((HeuristicLab.Hive.Contracts.ResponseObjects.Response)(this.results[0]));
|
---|
557 | }
|
---|
558 | }
|
---|
559 | }
|
---|
560 |
|
---|
561 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
562 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
563 | public partial class SlaveFacadeClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Slave.Communication.SlaveFacade.ISlaveFacade>, HeuristicLab.Hive.Slave.Communication.SlaveFacade.ISlaveFacade {
|
---|
564 |
|
---|
565 | private BeginOperationDelegate onBeginLoginDelegate;
|
---|
566 |
|
---|
567 | private EndOperationDelegate onEndLoginDelegate;
|
---|
568 |
|
---|
569 | private System.Threading.SendOrPostCallback onLoginCompletedDelegate;
|
---|
570 |
|
---|
571 | private BeginOperationDelegate onBeginProcessHeartBeatDelegate;
|
---|
572 |
|
---|
573 | private EndOperationDelegate onEndProcessHeartBeatDelegate;
|
---|
574 |
|
---|
575 | private System.Threading.SendOrPostCallback onProcessHeartBeatCompletedDelegate;
|
---|
576 |
|
---|
577 | private BeginOperationDelegate onBeginGetJobDelegate;
|
---|
578 |
|
---|
579 | private EndOperationDelegate onEndGetJobDelegate;
|
---|
580 |
|
---|
581 | private System.Threading.SendOrPostCallback onGetJobCompletedDelegate;
|
---|
582 |
|
---|
583 | private BeginOperationDelegate onBeginStoreFinishedJobResultDelegate;
|
---|
584 |
|
---|
585 | private EndOperationDelegate onEndStoreFinishedJobResultDelegate;
|
---|
586 |
|
---|
587 | private System.Threading.SendOrPostCallback onStoreFinishedJobResultCompletedDelegate;
|
---|
588 |
|
---|
589 | private BeginOperationDelegate onBeginProcessSnapshotDelegate;
|
---|
590 |
|
---|
591 | private EndOperationDelegate onEndProcessSnapshotDelegate;
|
---|
592 |
|
---|
593 | private System.Threading.SendOrPostCallback onProcessSnapshotCompletedDelegate;
|
---|
594 |
|
---|
595 | private BeginOperationDelegate onBeginLogoutDelegate;
|
---|
596 |
|
---|
597 | private EndOperationDelegate onEndLogoutDelegate;
|
---|
598 |
|
---|
599 | private System.Threading.SendOrPostCallback onLogoutCompletedDelegate;
|
---|
600 |
|
---|
601 | private BeginOperationDelegate onBeginIsJobStillNeededDelegate;
|
---|
602 |
|
---|
603 | private EndOperationDelegate onEndIsJobStillNeededDelegate;
|
---|
604 |
|
---|
605 | private System.Threading.SendOrPostCallback onIsJobStillNeededCompletedDelegate;
|
---|
606 |
|
---|
607 | private BeginOperationDelegate onBeginGetPluginsDelegate;
|
---|
608 |
|
---|
609 | private EndOperationDelegate onEndGetPluginsDelegate;
|
---|
610 |
|
---|
611 | private System.Threading.SendOrPostCallback onGetPluginsCompletedDelegate;
|
---|
612 |
|
---|
613 | private BeginOperationDelegate onBeginGetCalendarDelegate;
|
---|
614 |
|
---|
615 | private EndOperationDelegate onEndGetCalendarDelegate;
|
---|
616 |
|
---|
617 | private System.Threading.SendOrPostCallback onGetCalendarCompletedDelegate;
|
---|
618 |
|
---|
619 | private BeginOperationDelegate onBeginSetCalendarStatusDelegate;
|
---|
620 |
|
---|
621 | private EndOperationDelegate onEndSetCalendarStatusDelegate;
|
---|
622 |
|
---|
623 | private System.Threading.SendOrPostCallback onSetCalendarStatusCompletedDelegate;
|
---|
624 |
|
---|
625 | private BeginOperationDelegate onBeginGetStreamedJobDelegate;
|
---|
626 |
|
---|
627 | private EndOperationDelegate onEndGetStreamedJobDelegate;
|
---|
628 |
|
---|
629 | private System.Threading.SendOrPostCallback onGetStreamedJobCompletedDelegate;
|
---|
630 |
|
---|
631 | private BeginOperationDelegate onBeginGetStreamedPluginsDelegate;
|
---|
632 |
|
---|
633 | private EndOperationDelegate onEndGetStreamedPluginsDelegate;
|
---|
634 |
|
---|
635 | private System.Threading.SendOrPostCallback onGetStreamedPluginsCompletedDelegate;
|
---|
636 |
|
---|
637 | private BeginOperationDelegate onBeginStoreFinishedJobResultStreamedDelegate;
|
---|
638 |
|
---|
639 | private EndOperationDelegate onEndStoreFinishedJobResultStreamedDelegate;
|
---|
640 |
|
---|
641 | private System.Threading.SendOrPostCallback onStoreFinishedJobResultStreamedCompletedDelegate;
|
---|
642 |
|
---|
643 | private BeginOperationDelegate onBeginProcessSnapshotStreamedDelegate;
|
---|
644 |
|
---|
645 | private EndOperationDelegate onEndProcessSnapshotStreamedDelegate;
|
---|
646 |
|
---|
647 | private System.Threading.SendOrPostCallback onProcessSnapshotStreamedCompletedDelegate;
|
---|
648 |
|
---|
649 | private BeginOperationDelegate onBeginAddChildJobDelegate;
|
---|
650 |
|
---|
651 | private EndOperationDelegate onEndAddChildJobDelegate;
|
---|
652 |
|
---|
653 | private System.Threading.SendOrPostCallback onAddChildJobCompletedDelegate;
|
---|
654 |
|
---|
655 | private BeginOperationDelegate onBeginPauseJobDelegate;
|
---|
656 |
|
---|
657 | private EndOperationDelegate onEndPauseJobDelegate;
|
---|
658 |
|
---|
659 | private System.Threading.SendOrPostCallback onPauseJobCompletedDelegate;
|
---|
660 |
|
---|
661 | private BeginOperationDelegate onBeginGetChildJobResultsDelegate;
|
---|
662 |
|
---|
663 | private EndOperationDelegate onEndGetChildJobResultsDelegate;
|
---|
664 |
|
---|
665 | private System.Threading.SendOrPostCallback onGetChildJobResultsCompletedDelegate;
|
---|
666 |
|
---|
667 | private BeginOperationDelegate onBeginGetLastSerializedResultDelegate;
|
---|
668 |
|
---|
669 | private EndOperationDelegate onEndGetLastSerializedResultDelegate;
|
---|
670 |
|
---|
671 | private System.Threading.SendOrPostCallback onGetLastSerializedResultCompletedDelegate;
|
---|
672 |
|
---|
673 | private BeginOperationDelegate onBeginDeleteChildJobsDelegate;
|
---|
674 |
|
---|
675 | private EndOperationDelegate onEndDeleteChildJobsDelegate;
|
---|
676 |
|
---|
677 | private System.Threading.SendOrPostCallback onDeleteChildJobsCompletedDelegate;
|
---|
678 |
|
---|
679 | public SlaveFacadeClient() {
|
---|
680 | }
|
---|
681 |
|
---|
682 | public SlaveFacadeClient(string endpointConfigurationName) :
|
---|
683 | base(endpointConfigurationName) {
|
---|
684 | }
|
---|
685 |
|
---|
686 | public SlaveFacadeClient(string endpointConfigurationName, string remoteAddress) :
|
---|
687 | base(endpointConfigurationName, remoteAddress) {
|
---|
688 | }
|
---|
689 |
|
---|
690 | public SlaveFacadeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
691 | base(endpointConfigurationName, remoteAddress) {
|
---|
692 | }
|
---|
693 |
|
---|
694 | public SlaveFacadeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
695 | base(binding, remoteAddress) {
|
---|
696 | }
|
---|
697 |
|
---|
698 | public event System.EventHandler<LoginCompletedEventArgs> LoginCompleted;
|
---|
699 |
|
---|
700 | public event System.EventHandler<ProcessHeartBeatCompletedEventArgs> ProcessHeartBeatCompleted;
|
---|
701 |
|
---|
702 | public event System.EventHandler<GetJobCompletedEventArgs> GetJobCompleted;
|
---|
703 |
|
---|
704 | public event System.EventHandler<StoreFinishedJobResultCompletedEventArgs> StoreFinishedJobResultCompleted;
|
---|
705 |
|
---|
706 | public event System.EventHandler<ProcessSnapshotCompletedEventArgs> ProcessSnapshotCompleted;
|
---|
707 |
|
---|
708 | public event System.EventHandler<LogoutCompletedEventArgs> LogoutCompleted;
|
---|
709 |
|
---|
710 | public event System.EventHandler<IsJobStillNeededCompletedEventArgs> IsJobStillNeededCompleted;
|
---|
711 |
|
---|
712 | public event System.EventHandler<GetPluginsCompletedEventArgs> GetPluginsCompleted;
|
---|
713 |
|
---|
714 | public event System.EventHandler<GetCalendarCompletedEventArgs> GetCalendarCompleted;
|
---|
715 |
|
---|
716 | public event System.EventHandler<SetCalendarStatusCompletedEventArgs> SetCalendarStatusCompleted;
|
---|
717 |
|
---|
718 | public event System.EventHandler<GetStreamedJobCompletedEventArgs> GetStreamedJobCompleted;
|
---|
719 |
|
---|
720 | public event System.EventHandler<GetStreamedPluginsCompletedEventArgs> GetStreamedPluginsCompleted;
|
---|
721 |
|
---|
722 | public event System.EventHandler<StoreFinishedJobResultStreamedCompletedEventArgs> StoreFinishedJobResultStreamedCompleted;
|
---|
723 |
|
---|
724 | public event System.EventHandler<ProcessSnapshotStreamedCompletedEventArgs> ProcessSnapshotStreamedCompleted;
|
---|
725 |
|
---|
726 | public event System.EventHandler<AddChildJobCompletedEventArgs> AddChildJobCompleted;
|
---|
727 |
|
---|
728 | public event System.EventHandler<PauseJobCompletedEventArgs> PauseJobCompleted;
|
---|
729 |
|
---|
730 | public event System.EventHandler<GetChildJobResultsCompletedEventArgs> GetChildJobResultsCompleted;
|
---|
731 |
|
---|
732 | public event System.EventHandler<GetLastSerializedResultCompletedEventArgs> GetLastSerializedResultCompleted;
|
---|
733 |
|
---|
734 | public event System.EventHandler<DeleteChildJobsCompletedEventArgs> DeleteChildJobsCompleted;
|
---|
735 |
|
---|
736 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto slave) {
|
---|
737 | return base.Channel.Login(slave);
|
---|
738 | }
|
---|
739 |
|
---|
740 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
741 | public System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto slave, System.AsyncCallback callback, object asyncState) {
|
---|
742 | return base.Channel.BeginLogin(slave, callback, asyncState);
|
---|
743 | }
|
---|
744 |
|
---|
745 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
746 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response EndLogin(System.IAsyncResult result) {
|
---|
747 | return base.Channel.EndLogin(result);
|
---|
748 | }
|
---|
749 |
|
---|
750 | private System.IAsyncResult OnBeginLogin(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
751 | HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto slave = ((HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto)(inValues[0]));
|
---|
752 | return this.BeginLogin(slave, callback, asyncState);
|
---|
753 | }
|
---|
754 |
|
---|
755 | private object[] OnEndLogin(System.IAsyncResult result) {
|
---|
756 | HeuristicLab.Hive.Contracts.ResponseObjects.Response retVal = this.EndLogin(result);
|
---|
757 | return new object[] {
|
---|
758 | retVal};
|
---|
759 | }
|
---|
760 |
|
---|
761 | private void OnLoginCompleted(object state) {
|
---|
762 | if ((this.LoginCompleted != null)) {
|
---|
763 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
764 | this.LoginCompleted(this, new LoginCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
765 | }
|
---|
766 | }
|
---|
767 |
|
---|
768 | public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto slave) {
|
---|
769 | this.LoginAsync(slave, null);
|
---|
770 | }
|
---|
771 |
|
---|
772 | public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto slave, object userState) {
|
---|
773 | if ((this.onBeginLoginDelegate == null)) {
|
---|
774 | this.onBeginLoginDelegate = new BeginOperationDelegate(this.OnBeginLogin);
|
---|
775 | }
|
---|
776 | if ((this.onEndLoginDelegate == null)) {
|
---|
777 | this.onEndLoginDelegate = new EndOperationDelegate(this.OnEndLogin);
|
---|
778 | }
|
---|
779 | if ((this.onLoginCompletedDelegate == null)) {
|
---|
780 | this.onLoginCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLoginCompleted);
|
---|
781 | }
|
---|
782 | base.InvokeAsync(this.onBeginLoginDelegate, new object[] {
|
---|
783 | slave}, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState);
|
---|
784 | }
|
---|
785 |
|
---|
786 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat ProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData) {
|
---|
787 | return base.Channel.ProcessHeartBeat(hbData);
|
---|
788 | }
|
---|
789 |
|
---|
790 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
791 | public System.IAsyncResult BeginProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, System.AsyncCallback callback, object asyncState) {
|
---|
792 | return base.Channel.BeginProcessHeartBeat(hbData, callback, asyncState);
|
---|
793 | }
|
---|
794 |
|
---|
795 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
796 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat EndProcessHeartBeat(System.IAsyncResult result) {
|
---|
797 | return base.Channel.EndProcessHeartBeat(result);
|
---|
798 | }
|
---|
799 |
|
---|
800 | private System.IAsyncResult OnBeginProcessHeartBeat(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
801 | HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData = ((HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData)(inValues[0]));
|
---|
802 | return this.BeginProcessHeartBeat(hbData, callback, asyncState);
|
---|
803 | }
|
---|
804 |
|
---|
805 | private object[] OnEndProcessHeartBeat(System.IAsyncResult result) {
|
---|
806 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseHeartBeat retVal = this.EndProcessHeartBeat(result);
|
---|
807 | return new object[] {
|
---|
808 | retVal};
|
---|
809 | }
|
---|
810 |
|
---|
811 | private void OnProcessHeartBeatCompleted(object state) {
|
---|
812 | if ((this.ProcessHeartBeatCompleted != null)) {
|
---|
813 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
814 | this.ProcessHeartBeatCompleted(this, new ProcessHeartBeatCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
815 | }
|
---|
816 | }
|
---|
817 |
|
---|
818 | public void ProcessHeartBeatAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData) {
|
---|
819 | this.ProcessHeartBeatAsync(hbData, null);
|
---|
820 | }
|
---|
821 |
|
---|
822 | public void ProcessHeartBeatAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, object userState) {
|
---|
823 | if ((this.onBeginProcessHeartBeatDelegate == null)) {
|
---|
824 | this.onBeginProcessHeartBeatDelegate = new BeginOperationDelegate(this.OnBeginProcessHeartBeat);
|
---|
825 | }
|
---|
826 | if ((this.onEndProcessHeartBeatDelegate == null)) {
|
---|
827 | this.onEndProcessHeartBeatDelegate = new EndOperationDelegate(this.OnEndProcessHeartBeat);
|
---|
828 | }
|
---|
829 | if ((this.onProcessHeartBeatCompletedDelegate == null)) {
|
---|
830 | this.onProcessHeartBeatCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessHeartBeatCompleted);
|
---|
831 | }
|
---|
832 | base.InvokeAsync(this.onBeginProcessHeartBeatDelegate, new object[] {
|
---|
833 | hbData}, this.onEndProcessHeartBeatDelegate, this.onProcessHeartBeatCompletedDelegate, userState);
|
---|
834 | }
|
---|
835 |
|
---|
836 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> GetJob(System.Guid clientId) {
|
---|
837 | return base.Channel.GetJob(clientId);
|
---|
838 | }
|
---|
839 |
|
---|
840 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
841 | public System.IAsyncResult BeginGetJob(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
|
---|
842 | return base.Channel.BeginGetJob(clientId, callback, asyncState);
|
---|
843 | }
|
---|
844 |
|
---|
845 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
846 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> EndGetJob(System.IAsyncResult result) {
|
---|
847 | return base.Channel.EndGetJob(result);
|
---|
848 | }
|
---|
849 |
|
---|
850 | private System.IAsyncResult OnBeginGetJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
851 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
852 | return this.BeginGetJob(clientId, callback, asyncState);
|
---|
853 | }
|
---|
854 |
|
---|
855 | private object[] OnEndGetJob(System.IAsyncResult result) {
|
---|
856 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> retVal = this.EndGetJob(result);
|
---|
857 | return new object[] {
|
---|
858 | retVal};
|
---|
859 | }
|
---|
860 |
|
---|
861 | private void OnGetJobCompleted(object state) {
|
---|
862 | if ((this.GetJobCompleted != null)) {
|
---|
863 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
864 | this.GetJobCompleted(this, new GetJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
865 | }
|
---|
866 | }
|
---|
867 |
|
---|
868 | public void GetJobAsync(System.Guid clientId) {
|
---|
869 | this.GetJobAsync(clientId, null);
|
---|
870 | }
|
---|
871 |
|
---|
872 | public void GetJobAsync(System.Guid clientId, object userState) {
|
---|
873 | if ((this.onBeginGetJobDelegate == null)) {
|
---|
874 | this.onBeginGetJobDelegate = new BeginOperationDelegate(this.OnBeginGetJob);
|
---|
875 | }
|
---|
876 | if ((this.onEndGetJobDelegate == null)) {
|
---|
877 | this.onEndGetJobDelegate = new EndOperationDelegate(this.OnEndGetJob);
|
---|
878 | }
|
---|
879 | if ((this.onGetJobCompletedDelegate == null)) {
|
---|
880 | this.onGetJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetJobCompleted);
|
---|
881 | }
|
---|
882 | base.InvokeAsync(this.onBeginGetJobDelegate, new object[] {
|
---|
883 | clientId}, this.onEndGetJobDelegate, this.onGetJobCompletedDelegate, userState);
|
---|
884 | }
|
---|
885 |
|
---|
886 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived StoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception) {
|
---|
887 | return base.Channel.StoreFinishedJobResult(clientId, jobId, result, executionTime, exception);
|
---|
888 | }
|
---|
889 |
|
---|
890 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
891 | public System.IAsyncResult BeginStoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception, System.AsyncCallback callback, object asyncState) {
|
---|
892 | return base.Channel.BeginStoreFinishedJobResult(clientId, jobId, result, executionTime, exception, callback, asyncState);
|
---|
893 | }
|
---|
894 |
|
---|
895 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
896 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived EndStoreFinishedJobResult(System.IAsyncResult result) {
|
---|
897 | return base.Channel.EndStoreFinishedJobResult(result);
|
---|
898 | }
|
---|
899 |
|
---|
900 | private System.IAsyncResult OnBeginStoreFinishedJobResult(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
901 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
902 | System.Guid jobId = ((System.Guid)(inValues[1]));
|
---|
903 | byte[] result = ((byte[])(inValues[2]));
|
---|
904 | System.TimeSpan executionTime = ((System.TimeSpan)(inValues[3]));
|
---|
905 | string exception = ((string)(inValues[4]));
|
---|
906 | return this.BeginStoreFinishedJobResult(clientId, jobId, result, executionTime, exception, callback, asyncState);
|
---|
907 | }
|
---|
908 |
|
---|
909 | private object[] OnEndStoreFinishedJobResult(System.IAsyncResult result) {
|
---|
910 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived retVal = this.EndStoreFinishedJobResult(result);
|
---|
911 | return new object[] {
|
---|
912 | retVal};
|
---|
913 | }
|
---|
914 |
|
---|
915 | private void OnStoreFinishedJobResultCompleted(object state) {
|
---|
916 | if ((this.StoreFinishedJobResultCompleted != null)) {
|
---|
917 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
918 | this.StoreFinishedJobResultCompleted(this, new StoreFinishedJobResultCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
919 | }
|
---|
920 | }
|
---|
921 |
|
---|
922 | public void StoreFinishedJobResultAsync(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception) {
|
---|
923 | this.StoreFinishedJobResultAsync(clientId, jobId, result, executionTime, exception, null);
|
---|
924 | }
|
---|
925 |
|
---|
926 | public void StoreFinishedJobResultAsync(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception, object userState) {
|
---|
927 | if ((this.onBeginStoreFinishedJobResultDelegate == null)) {
|
---|
928 | this.onBeginStoreFinishedJobResultDelegate = new BeginOperationDelegate(this.OnBeginStoreFinishedJobResult);
|
---|
929 | }
|
---|
930 | if ((this.onEndStoreFinishedJobResultDelegate == null)) {
|
---|
931 | this.onEndStoreFinishedJobResultDelegate = new EndOperationDelegate(this.OnEndStoreFinishedJobResult);
|
---|
932 | }
|
---|
933 | if ((this.onStoreFinishedJobResultCompletedDelegate == null)) {
|
---|
934 | this.onStoreFinishedJobResultCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStoreFinishedJobResultCompleted);
|
---|
935 | }
|
---|
936 | base.InvokeAsync(this.onBeginStoreFinishedJobResultDelegate, new object[] {
|
---|
937 | clientId,
|
---|
938 | jobId,
|
---|
939 | result,
|
---|
940 | executionTime,
|
---|
941 | exception}, this.onEndStoreFinishedJobResultDelegate, this.onStoreFinishedJobResultCompletedDelegate, userState);
|
---|
942 | }
|
---|
943 |
|
---|
944 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived ProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception) {
|
---|
945 | return base.Channel.ProcessSnapshot(clientId, jobId, result, executionTime, exception);
|
---|
946 | }
|
---|
947 |
|
---|
948 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
949 | public System.IAsyncResult BeginProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception, System.AsyncCallback callback, object asyncState) {
|
---|
950 | return base.Channel.BeginProcessSnapshot(clientId, jobId, result, executionTime, exception, callback, asyncState);
|
---|
951 | }
|
---|
952 |
|
---|
953 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
954 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived EndProcessSnapshot(System.IAsyncResult result) {
|
---|
955 | return base.Channel.EndProcessSnapshot(result);
|
---|
956 | }
|
---|
957 |
|
---|
958 | private System.IAsyncResult OnBeginProcessSnapshot(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
959 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
960 | System.Guid jobId = ((System.Guid)(inValues[1]));
|
---|
961 | byte[] result = ((byte[])(inValues[2]));
|
---|
962 | System.TimeSpan executionTime = ((System.TimeSpan)(inValues[3]));
|
---|
963 | string exception = ((string)(inValues[4]));
|
---|
964 | return this.BeginProcessSnapshot(clientId, jobId, result, executionTime, exception, callback, asyncState);
|
---|
965 | }
|
---|
966 |
|
---|
967 | private object[] OnEndProcessSnapshot(System.IAsyncResult result) {
|
---|
968 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived retVal = this.EndProcessSnapshot(result);
|
---|
969 | return new object[] {
|
---|
970 | retVal};
|
---|
971 | }
|
---|
972 |
|
---|
973 | private void OnProcessSnapshotCompleted(object state) {
|
---|
974 | if ((this.ProcessSnapshotCompleted != null)) {
|
---|
975 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
976 | this.ProcessSnapshotCompleted(this, new ProcessSnapshotCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
977 | }
|
---|
978 | }
|
---|
979 |
|
---|
980 | public void ProcessSnapshotAsync(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception) {
|
---|
981 | this.ProcessSnapshotAsync(clientId, jobId, result, executionTime, exception, null);
|
---|
982 | }
|
---|
983 |
|
---|
984 | public void ProcessSnapshotAsync(System.Guid clientId, System.Guid jobId, byte[] result, System.TimeSpan executionTime, string exception, object userState) {
|
---|
985 | if ((this.onBeginProcessSnapshotDelegate == null)) {
|
---|
986 | this.onBeginProcessSnapshotDelegate = new BeginOperationDelegate(this.OnBeginProcessSnapshot);
|
---|
987 | }
|
---|
988 | if ((this.onEndProcessSnapshotDelegate == null)) {
|
---|
989 | this.onEndProcessSnapshotDelegate = new EndOperationDelegate(this.OnEndProcessSnapshot);
|
---|
990 | }
|
---|
991 | if ((this.onProcessSnapshotCompletedDelegate == null)) {
|
---|
992 | this.onProcessSnapshotCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessSnapshotCompleted);
|
---|
993 | }
|
---|
994 | base.InvokeAsync(this.onBeginProcessSnapshotDelegate, new object[] {
|
---|
995 | clientId,
|
---|
996 | jobId,
|
---|
997 | result,
|
---|
998 | executionTime,
|
---|
999 | exception}, this.onEndProcessSnapshotDelegate, this.onProcessSnapshotCompletedDelegate, userState);
|
---|
1000 | }
|
---|
1001 |
|
---|
1002 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response Logout(System.Guid clientId) {
|
---|
1003 | return base.Channel.Logout(clientId);
|
---|
1004 | }
|
---|
1005 |
|
---|
1006 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1007 | public System.IAsyncResult BeginLogout(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
|
---|
1008 | return base.Channel.BeginLogout(clientId, callback, asyncState);
|
---|
1009 | }
|
---|
1010 |
|
---|
1011 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1012 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response EndLogout(System.IAsyncResult result) {
|
---|
1013 | return base.Channel.EndLogout(result);
|
---|
1014 | }
|
---|
1015 |
|
---|
1016 | private System.IAsyncResult OnBeginLogout(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1017 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
1018 | return this.BeginLogout(clientId, callback, asyncState);
|
---|
1019 | }
|
---|
1020 |
|
---|
1021 | private object[] OnEndLogout(System.IAsyncResult result) {
|
---|
1022 | HeuristicLab.Hive.Contracts.ResponseObjects.Response retVal = this.EndLogout(result);
|
---|
1023 | return new object[] {
|
---|
1024 | retVal};
|
---|
1025 | }
|
---|
1026 |
|
---|
1027 | private void OnLogoutCompleted(object state) {
|
---|
1028 | if ((this.LogoutCompleted != null)) {
|
---|
1029 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1030 | this.LogoutCompleted(this, new LogoutCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1031 | }
|
---|
1032 | }
|
---|
1033 |
|
---|
1034 | public void LogoutAsync(System.Guid clientId) {
|
---|
1035 | this.LogoutAsync(clientId, null);
|
---|
1036 | }
|
---|
1037 |
|
---|
1038 | public void LogoutAsync(System.Guid clientId, object userState) {
|
---|
1039 | if ((this.onBeginLogoutDelegate == null)) {
|
---|
1040 | this.onBeginLogoutDelegate = new BeginOperationDelegate(this.OnBeginLogout);
|
---|
1041 | }
|
---|
1042 | if ((this.onEndLogoutDelegate == null)) {
|
---|
1043 | this.onEndLogoutDelegate = new EndOperationDelegate(this.OnEndLogout);
|
---|
1044 | }
|
---|
1045 | if ((this.onLogoutCompletedDelegate == null)) {
|
---|
1046 | this.onLogoutCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLogoutCompleted);
|
---|
1047 | }
|
---|
1048 | base.InvokeAsync(this.onBeginLogoutDelegate, new object[] {
|
---|
1049 | clientId}, this.onEndLogoutDelegate, this.onLogoutCompletedDelegate, userState);
|
---|
1050 | }
|
---|
1051 |
|
---|
1052 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response IsJobStillNeeded(System.Guid jobId) {
|
---|
1053 | return base.Channel.IsJobStillNeeded(jobId);
|
---|
1054 | }
|
---|
1055 |
|
---|
1056 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1057 | public System.IAsyncResult BeginIsJobStillNeeded(System.Guid jobId, System.AsyncCallback callback, object asyncState) {
|
---|
1058 | return base.Channel.BeginIsJobStillNeeded(jobId, callback, asyncState);
|
---|
1059 | }
|
---|
1060 |
|
---|
1061 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1062 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response EndIsJobStillNeeded(System.IAsyncResult result) {
|
---|
1063 | return base.Channel.EndIsJobStillNeeded(result);
|
---|
1064 | }
|
---|
1065 |
|
---|
1066 | private System.IAsyncResult OnBeginIsJobStillNeeded(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1067 | System.Guid jobId = ((System.Guid)(inValues[0]));
|
---|
1068 | return this.BeginIsJobStillNeeded(jobId, callback, asyncState);
|
---|
1069 | }
|
---|
1070 |
|
---|
1071 | private object[] OnEndIsJobStillNeeded(System.IAsyncResult result) {
|
---|
1072 | HeuristicLab.Hive.Contracts.ResponseObjects.Response retVal = this.EndIsJobStillNeeded(result);
|
---|
1073 | return new object[] {
|
---|
1074 | retVal};
|
---|
1075 | }
|
---|
1076 |
|
---|
1077 | private void OnIsJobStillNeededCompleted(object state) {
|
---|
1078 | if ((this.IsJobStillNeededCompleted != null)) {
|
---|
1079 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1080 | this.IsJobStillNeededCompleted(this, new IsJobStillNeededCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1081 | }
|
---|
1082 | }
|
---|
1083 |
|
---|
1084 | public void IsJobStillNeededAsync(System.Guid jobId) {
|
---|
1085 | this.IsJobStillNeededAsync(jobId, null);
|
---|
1086 | }
|
---|
1087 |
|
---|
1088 | public void IsJobStillNeededAsync(System.Guid jobId, object userState) {
|
---|
1089 | if ((this.onBeginIsJobStillNeededDelegate == null)) {
|
---|
1090 | this.onBeginIsJobStillNeededDelegate = new BeginOperationDelegate(this.OnBeginIsJobStillNeeded);
|
---|
1091 | }
|
---|
1092 | if ((this.onEndIsJobStillNeededDelegate == null)) {
|
---|
1093 | this.onEndIsJobStillNeededDelegate = new EndOperationDelegate(this.OnEndIsJobStillNeeded);
|
---|
1094 | }
|
---|
1095 | if ((this.onIsJobStillNeededCompletedDelegate == null)) {
|
---|
1096 | this.onIsJobStillNeededCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnIsJobStillNeededCompleted);
|
---|
1097 | }
|
---|
1098 | base.InvokeAsync(this.onBeginIsJobStillNeededDelegate, new object[] {
|
---|
1099 | jobId}, this.onEndIsJobStillNeededDelegate, this.onIsJobStillNeededCompletedDelegate, userState);
|
---|
1100 | }
|
---|
1101 |
|
---|
1102 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto> GetPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList) {
|
---|
1103 | return base.Channel.GetPlugins(pluginList);
|
---|
1104 | }
|
---|
1105 |
|
---|
1106 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1107 | public System.IAsyncResult BeginGetPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, System.AsyncCallback callback, object asyncState) {
|
---|
1108 | return base.Channel.BeginGetPlugins(pluginList, callback, asyncState);
|
---|
1109 | }
|
---|
1110 |
|
---|
1111 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1112 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto> EndGetPlugins(System.IAsyncResult result) {
|
---|
1113 | return base.Channel.EndGetPlugins(result);
|
---|
1114 | }
|
---|
1115 |
|
---|
1116 | private System.IAsyncResult OnBeginGetPlugins(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1117 | HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList = ((HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[])(inValues[0]));
|
---|
1118 | return this.BeginGetPlugins(pluginList, callback, asyncState);
|
---|
1119 | }
|
---|
1120 |
|
---|
1121 | private object[] OnEndGetPlugins(System.IAsyncResult result) {
|
---|
1122 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto> retVal = this.EndGetPlugins(result);
|
---|
1123 | return new object[] {
|
---|
1124 | retVal};
|
---|
1125 | }
|
---|
1126 |
|
---|
1127 | private void OnGetPluginsCompleted(object state) {
|
---|
1128 | if ((this.GetPluginsCompleted != null)) {
|
---|
1129 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1130 | this.GetPluginsCompleted(this, new GetPluginsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1131 | }
|
---|
1132 | }
|
---|
1133 |
|
---|
1134 | public void GetPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList) {
|
---|
1135 | this.GetPluginsAsync(pluginList, null);
|
---|
1136 | }
|
---|
1137 |
|
---|
1138 | public void GetPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, object userState) {
|
---|
1139 | if ((this.onBeginGetPluginsDelegate == null)) {
|
---|
1140 | this.onBeginGetPluginsDelegate = new BeginOperationDelegate(this.OnBeginGetPlugins);
|
---|
1141 | }
|
---|
1142 | if ((this.onEndGetPluginsDelegate == null)) {
|
---|
1143 | this.onEndGetPluginsDelegate = new EndOperationDelegate(this.OnEndGetPlugins);
|
---|
1144 | }
|
---|
1145 | if ((this.onGetPluginsCompletedDelegate == null)) {
|
---|
1146 | this.onGetPluginsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetPluginsCompleted);
|
---|
1147 | }
|
---|
1148 | base.InvokeAsync(this.onBeginGetPluginsDelegate, new object[] {
|
---|
1149 | pluginList}, this.onEndGetPluginsDelegate, this.onGetPluginsCompletedDelegate, userState);
|
---|
1150 | }
|
---|
1151 |
|
---|
1152 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar GetCalendar(System.Guid clientId) {
|
---|
1153 | return base.Channel.GetCalendar(clientId);
|
---|
1154 | }
|
---|
1155 |
|
---|
1156 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1157 | public System.IAsyncResult BeginGetCalendar(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
|
---|
1158 | return base.Channel.BeginGetCalendar(clientId, callback, asyncState);
|
---|
1159 | }
|
---|
1160 |
|
---|
1161 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1162 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar EndGetCalendar(System.IAsyncResult result) {
|
---|
1163 | return base.Channel.EndGetCalendar(result);
|
---|
1164 | }
|
---|
1165 |
|
---|
1166 | private System.IAsyncResult OnBeginGetCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1167 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
1168 | return this.BeginGetCalendar(clientId, callback, asyncState);
|
---|
1169 | }
|
---|
1170 |
|
---|
1171 | private object[] OnEndGetCalendar(System.IAsyncResult result) {
|
---|
1172 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar retVal = this.EndGetCalendar(result);
|
---|
1173 | return new object[] {
|
---|
1174 | retVal};
|
---|
1175 | }
|
---|
1176 |
|
---|
1177 | private void OnGetCalendarCompleted(object state) {
|
---|
1178 | if ((this.GetCalendarCompleted != null)) {
|
---|
1179 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1180 | this.GetCalendarCompleted(this, new GetCalendarCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1181 | }
|
---|
1182 | }
|
---|
1183 |
|
---|
1184 | public void GetCalendarAsync(System.Guid clientId) {
|
---|
1185 | this.GetCalendarAsync(clientId, null);
|
---|
1186 | }
|
---|
1187 |
|
---|
1188 | public void GetCalendarAsync(System.Guid clientId, object userState) {
|
---|
1189 | if ((this.onBeginGetCalendarDelegate == null)) {
|
---|
1190 | this.onBeginGetCalendarDelegate = new BeginOperationDelegate(this.OnBeginGetCalendar);
|
---|
1191 | }
|
---|
1192 | if ((this.onEndGetCalendarDelegate == null)) {
|
---|
1193 | this.onEndGetCalendarDelegate = new EndOperationDelegate(this.OnEndGetCalendar);
|
---|
1194 | }
|
---|
1195 | if ((this.onGetCalendarCompletedDelegate == null)) {
|
---|
1196 | this.onGetCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCalendarCompleted);
|
---|
1197 | }
|
---|
1198 | base.InvokeAsync(this.onBeginGetCalendarDelegate, new object[] {
|
---|
1199 | clientId}, this.onEndGetCalendarDelegate, this.onGetCalendarCompletedDelegate, userState);
|
---|
1200 | }
|
---|
1201 |
|
---|
1202 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response SetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state) {
|
---|
1203 | return base.Channel.SetCalendarStatus(clientId, state);
|
---|
1204 | }
|
---|
1205 |
|
---|
1206 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1207 | public System.IAsyncResult BeginSetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, System.AsyncCallback callback, object asyncState) {
|
---|
1208 | return base.Channel.BeginSetCalendarStatus(clientId, state, callback, asyncState);
|
---|
1209 | }
|
---|
1210 |
|
---|
1211 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1212 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response EndSetCalendarStatus(System.IAsyncResult result) {
|
---|
1213 | return base.Channel.EndSetCalendarStatus(result);
|
---|
1214 | }
|
---|
1215 |
|
---|
1216 | private System.IAsyncResult OnBeginSetCalendarStatus(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1217 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
1218 | HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state = ((HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState)(inValues[1]));
|
---|
1219 | return this.BeginSetCalendarStatus(clientId, state, callback, asyncState);
|
---|
1220 | }
|
---|
1221 |
|
---|
1222 | private object[] OnEndSetCalendarStatus(System.IAsyncResult result) {
|
---|
1223 | HeuristicLab.Hive.Contracts.ResponseObjects.Response retVal = this.EndSetCalendarStatus(result);
|
---|
1224 | return new object[] {
|
---|
1225 | retVal};
|
---|
1226 | }
|
---|
1227 |
|
---|
1228 | private void OnSetCalendarStatusCompleted(object state) {
|
---|
1229 | if ((this.SetCalendarStatusCompleted != null)) {
|
---|
1230 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1231 | this.SetCalendarStatusCompleted(this, new SetCalendarStatusCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1232 | }
|
---|
1233 | }
|
---|
1234 |
|
---|
1235 | public void SetCalendarStatusAsync(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state) {
|
---|
1236 | this.SetCalendarStatusAsync(clientId, state, null);
|
---|
1237 | }
|
---|
1238 |
|
---|
1239 | public void SetCalendarStatusAsync(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, object userState) {
|
---|
1240 | if ((this.onBeginSetCalendarStatusDelegate == null)) {
|
---|
1241 | this.onBeginSetCalendarStatusDelegate = new BeginOperationDelegate(this.OnBeginSetCalendarStatus);
|
---|
1242 | }
|
---|
1243 | if ((this.onEndSetCalendarStatusDelegate == null)) {
|
---|
1244 | this.onEndSetCalendarStatusDelegate = new EndOperationDelegate(this.OnEndSetCalendarStatus);
|
---|
1245 | }
|
---|
1246 | if ((this.onSetCalendarStatusCompletedDelegate == null)) {
|
---|
1247 | this.onSetCalendarStatusCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetCalendarStatusCompleted);
|
---|
1248 | }
|
---|
1249 | base.InvokeAsync(this.onBeginSetCalendarStatusDelegate, new object[] {
|
---|
1250 | clientId,
|
---|
1251 | state}, this.onEndSetCalendarStatusDelegate, this.onSetCalendarStatusCompletedDelegate, userState);
|
---|
1252 | }
|
---|
1253 |
|
---|
1254 | public System.IO.Stream GetStreamedJob(System.Guid clientId) {
|
---|
1255 | return base.Channel.GetStreamedJob(clientId);
|
---|
1256 | }
|
---|
1257 |
|
---|
1258 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1259 | public System.IAsyncResult BeginGetStreamedJob(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
|
---|
1260 | return base.Channel.BeginGetStreamedJob(clientId, callback, asyncState);
|
---|
1261 | }
|
---|
1262 |
|
---|
1263 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1264 | public System.IO.Stream EndGetStreamedJob(System.IAsyncResult result) {
|
---|
1265 | return base.Channel.EndGetStreamedJob(result);
|
---|
1266 | }
|
---|
1267 |
|
---|
1268 | private System.IAsyncResult OnBeginGetStreamedJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1269 | System.Guid clientId = ((System.Guid)(inValues[0]));
|
---|
1270 | return this.BeginGetStreamedJob(clientId, callback, asyncState);
|
---|
1271 | }
|
---|
1272 |
|
---|
1273 | private object[] OnEndGetStreamedJob(System.IAsyncResult result) {
|
---|
1274 | System.IO.Stream retVal = this.EndGetStreamedJob(result);
|
---|
1275 | return new object[] {
|
---|
1276 | retVal};
|
---|
1277 | }
|
---|
1278 |
|
---|
1279 | private void OnGetStreamedJobCompleted(object state) {
|
---|
1280 | if ((this.GetStreamedJobCompleted != null)) {
|
---|
1281 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1282 | this.GetStreamedJobCompleted(this, new GetStreamedJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1283 | }
|
---|
1284 | }
|
---|
1285 |
|
---|
1286 | public void GetStreamedJobAsync(System.Guid clientId) {
|
---|
1287 | this.GetStreamedJobAsync(clientId, null);
|
---|
1288 | }
|
---|
1289 |
|
---|
1290 | public void GetStreamedJobAsync(System.Guid clientId, object userState) {
|
---|
1291 | if ((this.onBeginGetStreamedJobDelegate == null)) {
|
---|
1292 | this.onBeginGetStreamedJobDelegate = new BeginOperationDelegate(this.OnBeginGetStreamedJob);
|
---|
1293 | }
|
---|
1294 | if ((this.onEndGetStreamedJobDelegate == null)) {
|
---|
1295 | this.onEndGetStreamedJobDelegate = new EndOperationDelegate(this.OnEndGetStreamedJob);
|
---|
1296 | }
|
---|
1297 | if ((this.onGetStreamedJobCompletedDelegate == null)) {
|
---|
1298 | this.onGetStreamedJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStreamedJobCompleted);
|
---|
1299 | }
|
---|
1300 | base.InvokeAsync(this.onBeginGetStreamedJobDelegate, new object[] {
|
---|
1301 | clientId}, this.onEndGetStreamedJobDelegate, this.onGetStreamedJobCompletedDelegate, userState);
|
---|
1302 | }
|
---|
1303 |
|
---|
1304 | public System.IO.Stream GetStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList) {
|
---|
1305 | return base.Channel.GetStreamedPlugins(pluginList);
|
---|
1306 | }
|
---|
1307 |
|
---|
1308 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1309 | public System.IAsyncResult BeginGetStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, System.AsyncCallback callback, object asyncState) {
|
---|
1310 | return base.Channel.BeginGetStreamedPlugins(pluginList, callback, asyncState);
|
---|
1311 | }
|
---|
1312 |
|
---|
1313 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1314 | public System.IO.Stream EndGetStreamedPlugins(System.IAsyncResult result) {
|
---|
1315 | return base.Channel.EndGetStreamedPlugins(result);
|
---|
1316 | }
|
---|
1317 |
|
---|
1318 | private System.IAsyncResult OnBeginGetStreamedPlugins(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1319 | HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList = ((HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[])(inValues[0]));
|
---|
1320 | return this.BeginGetStreamedPlugins(pluginList, callback, asyncState);
|
---|
1321 | }
|
---|
1322 |
|
---|
1323 | private object[] OnEndGetStreamedPlugins(System.IAsyncResult result) {
|
---|
1324 | System.IO.Stream retVal = this.EndGetStreamedPlugins(result);
|
---|
1325 | return new object[] {
|
---|
1326 | retVal};
|
---|
1327 | }
|
---|
1328 |
|
---|
1329 | private void OnGetStreamedPluginsCompleted(object state) {
|
---|
1330 | if ((this.GetStreamedPluginsCompleted != null)) {
|
---|
1331 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1332 | this.GetStreamedPluginsCompleted(this, new GetStreamedPluginsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1333 | }
|
---|
1334 | }
|
---|
1335 |
|
---|
1336 | public void GetStreamedPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList) {
|
---|
1337 | this.GetStreamedPluginsAsync(pluginList, null);
|
---|
1338 | }
|
---|
1339 |
|
---|
1340 | public void GetStreamedPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfoDto[] pluginList, object userState) {
|
---|
1341 | if ((this.onBeginGetStreamedPluginsDelegate == null)) {
|
---|
1342 | this.onBeginGetStreamedPluginsDelegate = new BeginOperationDelegate(this.OnBeginGetStreamedPlugins);
|
---|
1343 | }
|
---|
1344 | if ((this.onEndGetStreamedPluginsDelegate == null)) {
|
---|
1345 | this.onEndGetStreamedPluginsDelegate = new EndOperationDelegate(this.OnEndGetStreamedPlugins);
|
---|
1346 | }
|
---|
1347 | if ((this.onGetStreamedPluginsCompletedDelegate == null)) {
|
---|
1348 | this.onGetStreamedPluginsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStreamedPluginsCompleted);
|
---|
1349 | }
|
---|
1350 | base.InvokeAsync(this.onBeginGetStreamedPluginsDelegate, new object[] {
|
---|
1351 | pluginList}, this.onEndGetStreamedPluginsDelegate, this.onGetStreamedPluginsCompletedDelegate, userState);
|
---|
1352 | }
|
---|
1353 |
|
---|
1354 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived StoreFinishedJobResultStreamed(System.IO.Stream stream) {
|
---|
1355 | return base.Channel.StoreFinishedJobResultStreamed(stream);
|
---|
1356 | }
|
---|
1357 |
|
---|
1358 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1359 | public System.IAsyncResult BeginStoreFinishedJobResultStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState) {
|
---|
1360 | return base.Channel.BeginStoreFinishedJobResultStreamed(stream, callback, asyncState);
|
---|
1361 | }
|
---|
1362 |
|
---|
1363 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1364 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived EndStoreFinishedJobResultStreamed(System.IAsyncResult result) {
|
---|
1365 | return base.Channel.EndStoreFinishedJobResultStreamed(result);
|
---|
1366 | }
|
---|
1367 |
|
---|
1368 | private System.IAsyncResult OnBeginStoreFinishedJobResultStreamed(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1369 | System.IO.Stream stream = ((System.IO.Stream)(inValues[0]));
|
---|
1370 | return this.BeginStoreFinishedJobResultStreamed(stream, callback, asyncState);
|
---|
1371 | }
|
---|
1372 |
|
---|
1373 | private object[] OnEndStoreFinishedJobResultStreamed(System.IAsyncResult result) {
|
---|
1374 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived retVal = this.EndStoreFinishedJobResultStreamed(result);
|
---|
1375 | return new object[] {
|
---|
1376 | retVal};
|
---|
1377 | }
|
---|
1378 |
|
---|
1379 | private void OnStoreFinishedJobResultStreamedCompleted(object state) {
|
---|
1380 | if ((this.StoreFinishedJobResultStreamedCompleted != null)) {
|
---|
1381 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1382 | this.StoreFinishedJobResultStreamedCompleted(this, new StoreFinishedJobResultStreamedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1383 | }
|
---|
1384 | }
|
---|
1385 |
|
---|
1386 | public void StoreFinishedJobResultStreamedAsync(System.IO.Stream stream) {
|
---|
1387 | this.StoreFinishedJobResultStreamedAsync(stream, null);
|
---|
1388 | }
|
---|
1389 |
|
---|
1390 | public void StoreFinishedJobResultStreamedAsync(System.IO.Stream stream, object userState) {
|
---|
1391 | if ((this.onBeginStoreFinishedJobResultStreamedDelegate == null)) {
|
---|
1392 | this.onBeginStoreFinishedJobResultStreamedDelegate = new BeginOperationDelegate(this.OnBeginStoreFinishedJobResultStreamed);
|
---|
1393 | }
|
---|
1394 | if ((this.onEndStoreFinishedJobResultStreamedDelegate == null)) {
|
---|
1395 | this.onEndStoreFinishedJobResultStreamedDelegate = new EndOperationDelegate(this.OnEndStoreFinishedJobResultStreamed);
|
---|
1396 | }
|
---|
1397 | if ((this.onStoreFinishedJobResultStreamedCompletedDelegate == null)) {
|
---|
1398 | this.onStoreFinishedJobResultStreamedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStoreFinishedJobResultStreamedCompleted);
|
---|
1399 | }
|
---|
1400 | base.InvokeAsync(this.onBeginStoreFinishedJobResultStreamedDelegate, new object[] {
|
---|
1401 | stream}, this.onEndStoreFinishedJobResultStreamedDelegate, this.onStoreFinishedJobResultStreamedCompletedDelegate, userState);
|
---|
1402 | }
|
---|
1403 |
|
---|
1404 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived ProcessSnapshotStreamed(System.IO.Stream stream) {
|
---|
1405 | return base.Channel.ProcessSnapshotStreamed(stream);
|
---|
1406 | }
|
---|
1407 |
|
---|
1408 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1409 | public System.IAsyncResult BeginProcessSnapshotStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState) {
|
---|
1410 | return base.Channel.BeginProcessSnapshotStreamed(stream, callback, asyncState);
|
---|
1411 | }
|
---|
1412 |
|
---|
1413 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1414 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived EndProcessSnapshotStreamed(System.IAsyncResult result) {
|
---|
1415 | return base.Channel.EndProcessSnapshotStreamed(result);
|
---|
1416 | }
|
---|
1417 |
|
---|
1418 | private System.IAsyncResult OnBeginProcessSnapshotStreamed(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1419 | System.IO.Stream stream = ((System.IO.Stream)(inValues[0]));
|
---|
1420 | return this.BeginProcessSnapshotStreamed(stream, callback, asyncState);
|
---|
1421 | }
|
---|
1422 |
|
---|
1423 | private object[] OnEndProcessSnapshotStreamed(System.IAsyncResult result) {
|
---|
1424 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived retVal = this.EndProcessSnapshotStreamed(result);
|
---|
1425 | return new object[] {
|
---|
1426 | retVal};
|
---|
1427 | }
|
---|
1428 |
|
---|
1429 | private void OnProcessSnapshotStreamedCompleted(object state) {
|
---|
1430 | if ((this.ProcessSnapshotStreamedCompleted != null)) {
|
---|
1431 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1432 | this.ProcessSnapshotStreamedCompleted(this, new ProcessSnapshotStreamedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1433 | }
|
---|
1434 | }
|
---|
1435 |
|
---|
1436 | public void ProcessSnapshotStreamedAsync(System.IO.Stream stream) {
|
---|
1437 | this.ProcessSnapshotStreamedAsync(stream, null);
|
---|
1438 | }
|
---|
1439 |
|
---|
1440 | public void ProcessSnapshotStreamedAsync(System.IO.Stream stream, object userState) {
|
---|
1441 | if ((this.onBeginProcessSnapshotStreamedDelegate == null)) {
|
---|
1442 | this.onBeginProcessSnapshotStreamedDelegate = new BeginOperationDelegate(this.OnBeginProcessSnapshotStreamed);
|
---|
1443 | }
|
---|
1444 | if ((this.onEndProcessSnapshotStreamedDelegate == null)) {
|
---|
1445 | this.onEndProcessSnapshotStreamedDelegate = new EndOperationDelegate(this.OnEndProcessSnapshotStreamed);
|
---|
1446 | }
|
---|
1447 | if ((this.onProcessSnapshotStreamedCompletedDelegate == null)) {
|
---|
1448 | this.onProcessSnapshotStreamedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessSnapshotStreamedCompleted);
|
---|
1449 | }
|
---|
1450 | base.InvokeAsync(this.onBeginProcessSnapshotStreamedDelegate, new object[] {
|
---|
1451 | stream}, this.onEndProcessSnapshotStreamedDelegate, this.onProcessSnapshotStreamedCompletedDelegate, userState);
|
---|
1452 | }
|
---|
1453 |
|
---|
1454 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> AddChildJob(System.Guid parentJobId, HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob) {
|
---|
1455 | return base.Channel.AddChildJob(parentJobId, serializedJob);
|
---|
1456 | }
|
---|
1457 |
|
---|
1458 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1459 | public System.IAsyncResult BeginAddChildJob(System.Guid parentJobId, HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob, System.AsyncCallback callback, object asyncState) {
|
---|
1460 | return base.Channel.BeginAddChildJob(parentJobId, serializedJob, callback, asyncState);
|
---|
1461 | }
|
---|
1462 |
|
---|
1463 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1464 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> EndAddChildJob(System.IAsyncResult result) {
|
---|
1465 | return base.Channel.EndAddChildJob(result);
|
---|
1466 | }
|
---|
1467 |
|
---|
1468 | private System.IAsyncResult OnBeginAddChildJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1469 | System.Guid parentJobId = ((System.Guid)(inValues[0]));
|
---|
1470 | HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob = ((HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob)(inValues[1]));
|
---|
1471 | return this.BeginAddChildJob(parentJobId, serializedJob, callback, asyncState);
|
---|
1472 | }
|
---|
1473 |
|
---|
1474 | private object[] OnEndAddChildJob(System.IAsyncResult result) {
|
---|
1475 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> retVal = this.EndAddChildJob(result);
|
---|
1476 | return new object[] {
|
---|
1477 | retVal};
|
---|
1478 | }
|
---|
1479 |
|
---|
1480 | private void OnAddChildJobCompleted(object state) {
|
---|
1481 | if ((this.AddChildJobCompleted != null)) {
|
---|
1482 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1483 | this.AddChildJobCompleted(this, new AddChildJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1484 | }
|
---|
1485 | }
|
---|
1486 |
|
---|
1487 | public void AddChildJobAsync(System.Guid parentJobId, HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob) {
|
---|
1488 | this.AddChildJobAsync(parentJobId, serializedJob, null);
|
---|
1489 | }
|
---|
1490 |
|
---|
1491 | public void AddChildJobAsync(System.Guid parentJobId, HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob, object userState) {
|
---|
1492 | if ((this.onBeginAddChildJobDelegate == null)) {
|
---|
1493 | this.onBeginAddChildJobDelegate = new BeginOperationDelegate(this.OnBeginAddChildJob);
|
---|
1494 | }
|
---|
1495 | if ((this.onEndAddChildJobDelegate == null)) {
|
---|
1496 | this.onEndAddChildJobDelegate = new EndOperationDelegate(this.OnEndAddChildJob);
|
---|
1497 | }
|
---|
1498 | if ((this.onAddChildJobCompletedDelegate == null)) {
|
---|
1499 | this.onAddChildJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddChildJobCompleted);
|
---|
1500 | }
|
---|
1501 | base.InvokeAsync(this.onBeginAddChildJobDelegate, new object[] {
|
---|
1502 | parentJobId,
|
---|
1503 | serializedJob}, this.onEndAddChildJobDelegate, this.onAddChildJobCompletedDelegate, userState);
|
---|
1504 | }
|
---|
1505 |
|
---|
1506 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> PauseJob(HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob) {
|
---|
1507 | return base.Channel.PauseJob(serializedJob);
|
---|
1508 | }
|
---|
1509 |
|
---|
1510 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1511 | public System.IAsyncResult BeginPauseJob(HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob, System.AsyncCallback callback, object asyncState) {
|
---|
1512 | return base.Channel.BeginPauseJob(serializedJob, callback, asyncState);
|
---|
1513 | }
|
---|
1514 |
|
---|
1515 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1516 | public HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> EndPauseJob(System.IAsyncResult result) {
|
---|
1517 | return base.Channel.EndPauseJob(result);
|
---|
1518 | }
|
---|
1519 |
|
---|
1520 | private System.IAsyncResult OnBeginPauseJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1521 | HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob = ((HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob)(inValues[0]));
|
---|
1522 | return this.BeginPauseJob(serializedJob, callback, asyncState);
|
---|
1523 | }
|
---|
1524 |
|
---|
1525 | private object[] OnEndPauseJob(System.IAsyncResult result) {
|
---|
1526 | HeuristicLab.Hive.Contracts.ResponseObjects.ResponseObject<HeuristicLab.Hive.Contracts.BusinessObjects.JobDto> retVal = this.EndPauseJob(result);
|
---|
1527 | return new object[] {
|
---|
1528 | retVal};
|
---|
1529 | }
|
---|
1530 |
|
---|
1531 | private void OnPauseJobCompleted(object state) {
|
---|
1532 | if ((this.PauseJobCompleted != null)) {
|
---|
1533 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1534 | this.PauseJobCompleted(this, new PauseJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1535 | }
|
---|
1536 | }
|
---|
1537 |
|
---|
1538 | public void PauseJobAsync(HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob) {
|
---|
1539 | this.PauseJobAsync(serializedJob, null);
|
---|
1540 | }
|
---|
1541 |
|
---|
1542 | public void PauseJobAsync(HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob serializedJob, object userState) {
|
---|
1543 | if ((this.onBeginPauseJobDelegate == null)) {
|
---|
1544 | this.onBeginPauseJobDelegate = new BeginOperationDelegate(this.OnBeginPauseJob);
|
---|
1545 | }
|
---|
1546 | if ((this.onEndPauseJobDelegate == null)) {
|
---|
1547 | this.onEndPauseJobDelegate = new EndOperationDelegate(this.OnEndPauseJob);
|
---|
1548 | }
|
---|
1549 | if ((this.onPauseJobCompletedDelegate == null)) {
|
---|
1550 | this.onPauseJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPauseJobCompleted);
|
---|
1551 | }
|
---|
1552 | base.InvokeAsync(this.onBeginPauseJobDelegate, new object[] {
|
---|
1553 | serializedJob}, this.onEndPauseJobDelegate, this.onPauseJobCompletedDelegate, userState);
|
---|
1554 | }
|
---|
1555 |
|
---|
1556 | public HeuristicLab.Hive.Contracts.BusinessObjects.JobResult[] GetChildJobResults(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent) {
|
---|
1557 | return base.Channel.GetChildJobResults(parentJobId, recursive, includeParent);
|
---|
1558 | }
|
---|
1559 |
|
---|
1560 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1561 | public System.IAsyncResult BeginGetChildJobResults(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent, System.AsyncCallback callback, object asyncState) {
|
---|
1562 | return base.Channel.BeginGetChildJobResults(parentJobId, recursive, includeParent, callback, asyncState);
|
---|
1563 | }
|
---|
1564 |
|
---|
1565 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1566 | public HeuristicLab.Hive.Contracts.BusinessObjects.JobResult[] EndGetChildJobResults(System.IAsyncResult result) {
|
---|
1567 | return base.Channel.EndGetChildJobResults(result);
|
---|
1568 | }
|
---|
1569 |
|
---|
1570 | private System.IAsyncResult OnBeginGetChildJobResults(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1571 | System.Nullable<System.Guid> parentJobId = ((System.Nullable<System.Guid>)(inValues[0]));
|
---|
1572 | bool recursive = ((bool)(inValues[1]));
|
---|
1573 | bool includeParent = ((bool)(inValues[2]));
|
---|
1574 | return this.BeginGetChildJobResults(parentJobId, recursive, includeParent, callback, asyncState);
|
---|
1575 | }
|
---|
1576 |
|
---|
1577 | private object[] OnEndGetChildJobResults(System.IAsyncResult result) {
|
---|
1578 | HeuristicLab.Hive.Contracts.BusinessObjects.JobResult[] retVal = this.EndGetChildJobResults(result);
|
---|
1579 | return new object[] {
|
---|
1580 | retVal};
|
---|
1581 | }
|
---|
1582 |
|
---|
1583 | private void OnGetChildJobResultsCompleted(object state) {
|
---|
1584 | if ((this.GetChildJobResultsCompleted != null)) {
|
---|
1585 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1586 | this.GetChildJobResultsCompleted(this, new GetChildJobResultsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1587 | }
|
---|
1588 | }
|
---|
1589 |
|
---|
1590 | public void GetChildJobResultsAsync(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent) {
|
---|
1591 | this.GetChildJobResultsAsync(parentJobId, recursive, includeParent, null);
|
---|
1592 | }
|
---|
1593 |
|
---|
1594 | public void GetChildJobResultsAsync(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent, object userState) {
|
---|
1595 | if ((this.onBeginGetChildJobResultsDelegate == null)) {
|
---|
1596 | this.onBeginGetChildJobResultsDelegate = new BeginOperationDelegate(this.OnBeginGetChildJobResults);
|
---|
1597 | }
|
---|
1598 | if ((this.onEndGetChildJobResultsDelegate == null)) {
|
---|
1599 | this.onEndGetChildJobResultsDelegate = new EndOperationDelegate(this.OnEndGetChildJobResults);
|
---|
1600 | }
|
---|
1601 | if ((this.onGetChildJobResultsCompletedDelegate == null)) {
|
---|
1602 | this.onGetChildJobResultsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetChildJobResultsCompleted);
|
---|
1603 | }
|
---|
1604 | base.InvokeAsync(this.onBeginGetChildJobResultsDelegate, new object[] {
|
---|
1605 | parentJobId,
|
---|
1606 | recursive,
|
---|
1607 | includeParent}, this.onEndGetChildJobResultsDelegate, this.onGetChildJobResultsCompletedDelegate, userState);
|
---|
1608 | }
|
---|
1609 |
|
---|
1610 | public HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob GetLastSerializedResult(System.Guid jobId) {
|
---|
1611 | return base.Channel.GetLastSerializedResult(jobId);
|
---|
1612 | }
|
---|
1613 |
|
---|
1614 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1615 | public System.IAsyncResult BeginGetLastSerializedResult(System.Guid jobId, System.AsyncCallback callback, object asyncState) {
|
---|
1616 | return base.Channel.BeginGetLastSerializedResult(jobId, callback, asyncState);
|
---|
1617 | }
|
---|
1618 |
|
---|
1619 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1620 | public HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob EndGetLastSerializedResult(System.IAsyncResult result) {
|
---|
1621 | return base.Channel.EndGetLastSerializedResult(result);
|
---|
1622 | }
|
---|
1623 |
|
---|
1624 | private System.IAsyncResult OnBeginGetLastSerializedResult(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1625 | System.Guid jobId = ((System.Guid)(inValues[0]));
|
---|
1626 | return this.BeginGetLastSerializedResult(jobId, callback, asyncState);
|
---|
1627 | }
|
---|
1628 |
|
---|
1629 | private object[] OnEndGetLastSerializedResult(System.IAsyncResult result) {
|
---|
1630 | HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob retVal = this.EndGetLastSerializedResult(result);
|
---|
1631 | return new object[] {
|
---|
1632 | retVal};
|
---|
1633 | }
|
---|
1634 |
|
---|
1635 | private void OnGetLastSerializedResultCompleted(object state) {
|
---|
1636 | if ((this.GetLastSerializedResultCompleted != null)) {
|
---|
1637 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1638 | this.GetLastSerializedResultCompleted(this, new GetLastSerializedResultCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1639 | }
|
---|
1640 | }
|
---|
1641 |
|
---|
1642 | public void GetLastSerializedResultAsync(System.Guid jobId) {
|
---|
1643 | this.GetLastSerializedResultAsync(jobId, null);
|
---|
1644 | }
|
---|
1645 |
|
---|
1646 | public void GetLastSerializedResultAsync(System.Guid jobId, object userState) {
|
---|
1647 | if ((this.onBeginGetLastSerializedResultDelegate == null)) {
|
---|
1648 | this.onBeginGetLastSerializedResultDelegate = new BeginOperationDelegate(this.OnBeginGetLastSerializedResult);
|
---|
1649 | }
|
---|
1650 | if ((this.onEndGetLastSerializedResultDelegate == null)) {
|
---|
1651 | this.onEndGetLastSerializedResultDelegate = new EndOperationDelegate(this.OnEndGetLastSerializedResult);
|
---|
1652 | }
|
---|
1653 | if ((this.onGetLastSerializedResultCompletedDelegate == null)) {
|
---|
1654 | this.onGetLastSerializedResultCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLastSerializedResultCompleted);
|
---|
1655 | }
|
---|
1656 | base.InvokeAsync(this.onBeginGetLastSerializedResultDelegate, new object[] {
|
---|
1657 | jobId}, this.onEndGetLastSerializedResultDelegate, this.onGetLastSerializedResultCompletedDelegate, userState);
|
---|
1658 | }
|
---|
1659 |
|
---|
1660 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response DeleteChildJobs(System.Guid jobId) {
|
---|
1661 | return base.Channel.DeleteChildJobs(jobId);
|
---|
1662 | }
|
---|
1663 |
|
---|
1664 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1665 | public System.IAsyncResult BeginDeleteChildJobs(System.Guid jobId, System.AsyncCallback callback, object asyncState) {
|
---|
1666 | return base.Channel.BeginDeleteChildJobs(jobId, callback, asyncState);
|
---|
1667 | }
|
---|
1668 |
|
---|
1669 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
1670 | public HeuristicLab.Hive.Contracts.ResponseObjects.Response EndDeleteChildJobs(System.IAsyncResult result) {
|
---|
1671 | return base.Channel.EndDeleteChildJobs(result);
|
---|
1672 | }
|
---|
1673 |
|
---|
1674 | private System.IAsyncResult OnBeginDeleteChildJobs(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
1675 | System.Guid jobId = ((System.Guid)(inValues[0]));
|
---|
1676 | return this.BeginDeleteChildJobs(jobId, callback, asyncState);
|
---|
1677 | }
|
---|
1678 |
|
---|
1679 | private object[] OnEndDeleteChildJobs(System.IAsyncResult result) {
|
---|
1680 | HeuristicLab.Hive.Contracts.ResponseObjects.Response retVal = this.EndDeleteChildJobs(result);
|
---|
1681 | return new object[] {
|
---|
1682 | retVal};
|
---|
1683 | }
|
---|
1684 |
|
---|
1685 | private void OnDeleteChildJobsCompleted(object state) {
|
---|
1686 | if ((this.DeleteChildJobsCompleted != null)) {
|
---|
1687 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
1688 | this.DeleteChildJobsCompleted(this, new DeleteChildJobsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
1689 | }
|
---|
1690 | }
|
---|
1691 |
|
---|
1692 | public void DeleteChildJobsAsync(System.Guid jobId) {
|
---|
1693 | this.DeleteChildJobsAsync(jobId, null);
|
---|
1694 | }
|
---|
1695 |
|
---|
1696 | public void DeleteChildJobsAsync(System.Guid jobId, object userState) {
|
---|
1697 | if ((this.onBeginDeleteChildJobsDelegate == null)) {
|
---|
1698 | this.onBeginDeleteChildJobsDelegate = new BeginOperationDelegate(this.OnBeginDeleteChildJobs);
|
---|
1699 | }
|
---|
1700 | if ((this.onEndDeleteChildJobsDelegate == null)) {
|
---|
1701 | this.onEndDeleteChildJobsDelegate = new EndOperationDelegate(this.OnEndDeleteChildJobs);
|
---|
1702 | }
|
---|
1703 | if ((this.onDeleteChildJobsCompletedDelegate == null)) {
|
---|
1704 | this.onDeleteChildJobsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeleteChildJobsCompleted);
|
---|
1705 | }
|
---|
1706 | base.InvokeAsync(this.onBeginDeleteChildJobsDelegate, new object[] {
|
---|
1707 | jobId}, this.onEndDeleteChildJobsDelegate, this.onDeleteChildJobsCompletedDelegate, userState);
|
---|
1708 | }
|
---|
1709 | }
|
---|
1710 | }
|
---|