//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace HeuristicLab.OKB.Cockpit.Admin.OKBData { using System.Runtime.Serialization; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="EntityType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB")] public enum EntityType : int { [System.Runtime.Serialization.EnumMemberAttribute()] Algorithm = 0, [System.Runtime.Serialization.EnumMemberAttribute()] Problem = 1, } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="OKBData.IDataService", SessionMode=System.ServiceModel.SessionMode.Required)] public interface IDataService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDataService/Request", ReplyAction="http://tempuri.org/IDataService/RequestResponse")] int Request(HeuristicLab.OKB.Cockpit.Admin.OKBData.EntityType type, int id); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDataService/Submit", ReplyAction="http://tempuri.org/IDataService/SubmitResponse")] void Submit(HeuristicLab.OKB.Cockpit.Admin.OKBData.EntityType type, int id); [System.ServiceModel.OperationContractAttribute(IsInitiating=false, Action="http://tempuri.org/IDataService/GetNextChunk", ReplyAction="http://tempuri.org/IDataService/GetNextChunkResponse")] byte[] GetNextChunk(int size); [System.ServiceModel.OperationContractAttribute(IsInitiating=false, Action="http://tempuri.org/IDataService/SetNextChunk", ReplyAction="http://tempuri.org/IDataService/SetNextChunkResponse")] void SetNextChunk(byte[] data); [System.ServiceModel.OperationContractAttribute(IsTerminating=true, IsInitiating=false, Action="http://tempuri.org/IDataService/TransferDone", ReplyAction="http://tempuri.org/IDataService/TransferDoneResponse")] void TransferDone(); [System.ServiceModel.OperationContractAttribute(IsTerminating=true, IsInitiating=false, Action="http://tempuri.org/IDataService/AbortTransfer", ReplyAction="http://tempuri.org/IDataService/AbortTransferResponse")] void AbortTransfer(); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IDataServiceChannel : HeuristicLab.OKB.Cockpit.Admin.OKBData.IDataService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class DataServiceClient : System.ServiceModel.ClientBase, HeuristicLab.OKB.Cockpit.Admin.OKBData.IDataService { public DataServiceClient() { } public DataServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public DataServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public DataServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public DataServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public int Request(HeuristicLab.OKB.Cockpit.Admin.OKBData.EntityType type, int id) { return base.Channel.Request(type, id); } public void Submit(HeuristicLab.OKB.Cockpit.Admin.OKBData.EntityType type, int id) { base.Channel.Submit(type, id); } public byte[] GetNextChunk(int size) { return base.Channel.GetNextChunk(size); } public void SetNextChunk(byte[] data) { base.Channel.SetNextChunk(data); } public void TransferDone() { base.Channel.TransferDone(); } public void AbortTransfer() { base.Channel.AbortTransfer(); } } }