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