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