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