[4311] | 1 | //------------------------------------------------------------------------------
|
---|
| 2 | // <auto-generated>
|
---|
| 3 | // This code was generated by a tool.
|
---|
| 4 | // Runtime Version:4.0.30319.1
|
---|
| 5 | //
|
---|
| 6 | // Changes to this file may cause incorrect behavior and will be lost if
|
---|
| 7 | // the code is regenerated.
|
---|
| 8 | // </auto-generated>
|
---|
| 9 | //------------------------------------------------------------------------------
|
---|
| 10 |
|
---|
| 11 | namespace HeuristicLab.OKB.Cockpit.Admin.OKBData {
|
---|
| 12 | using System.Runtime.Serialization;
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 16 | [System.Runtime.Serialization.DataContractAttribute(Name="EntityType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB")]
|
---|
| 17 | public enum EntityType : int {
|
---|
| 18 |
|
---|
| 19 | [System.Runtime.Serialization.EnumMemberAttribute()]
|
---|
| 20 | Algorithm = 0,
|
---|
| 21 |
|
---|
| 22 | [System.Runtime.Serialization.EnumMemberAttribute()]
|
---|
| 23 | Problem = 1,
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 27 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="OKBData.IDataService", SessionMode=System.ServiceModel.SessionMode.Required)]
|
---|
| 28 | public interface IDataService {
|
---|
| 29 |
|
---|
| 30 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDataService/Request", ReplyAction="http://tempuri.org/IDataService/RequestResponse")]
|
---|
| 31 | int Request(HeuristicLab.OKB.Cockpit.Admin.OKBData.EntityType type, int id);
|
---|
| 32 |
|
---|
| 33 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDataService/Submit", ReplyAction="http://tempuri.org/IDataService/SubmitResponse")]
|
---|
| 34 | void Submit(HeuristicLab.OKB.Cockpit.Admin.OKBData.EntityType type, int id);
|
---|
| 35 |
|
---|
| 36 | [System.ServiceModel.OperationContractAttribute(IsInitiating=false, Action="http://tempuri.org/IDataService/GetNextChunk", ReplyAction="http://tempuri.org/IDataService/GetNextChunkResponse")]
|
---|
| 37 | byte[] GetNextChunk(int size);
|
---|
| 38 |
|
---|
| 39 | [System.ServiceModel.OperationContractAttribute(IsInitiating=false, Action="http://tempuri.org/IDataService/SetNextChunk", ReplyAction="http://tempuri.org/IDataService/SetNextChunkResponse")]
|
---|
| 40 | void SetNextChunk(byte[] data);
|
---|
| 41 |
|
---|
| 42 | [System.ServiceModel.OperationContractAttribute(IsTerminating=true, IsInitiating=false, Action="http://tempuri.org/IDataService/TransferDone", ReplyAction="http://tempuri.org/IDataService/TransferDoneResponse")]
|
---|
| 43 | void TransferDone();
|
---|
| 44 |
|
---|
| 45 | [System.ServiceModel.OperationContractAttribute(IsTerminating=true, IsInitiating=false, Action="http://tempuri.org/IDataService/AbortTransfer", ReplyAction="http://tempuri.org/IDataService/AbortTransferResponse")]
|
---|
| 46 | void AbortTransfer();
|
---|
| 47 | }
|
---|
| 48 |
|
---|
| 49 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 50 | public interface IDataServiceChannel : HeuristicLab.OKB.Cockpit.Admin.OKBData.IDataService, System.ServiceModel.IClientChannel {
|
---|
| 51 | }
|
---|
| 52 |
|
---|
| 53 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 54 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 55 | public partial class DataServiceClient : System.ServiceModel.ClientBase<HeuristicLab.OKB.Cockpit.Admin.OKBData.IDataService>, HeuristicLab.OKB.Cockpit.Admin.OKBData.IDataService {
|
---|
| 56 |
|
---|
| 57 | public DataServiceClient() {
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | public DataServiceClient(string endpointConfigurationName) :
|
---|
| 61 | base(endpointConfigurationName) {
|
---|
| 62 | }
|
---|
| 63 |
|
---|
| 64 | public DataServiceClient(string endpointConfigurationName, string remoteAddress) :
|
---|
| 65 | base(endpointConfigurationName, remoteAddress) {
|
---|
| 66 | }
|
---|
| 67 |
|
---|
| 68 | public DataServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 69 | base(endpointConfigurationName, remoteAddress) {
|
---|
| 70 | }
|
---|
| 71 |
|
---|
| 72 | public DataServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 73 | base(binding, remoteAddress) {
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | public int Request(HeuristicLab.OKB.Cockpit.Admin.OKBData.EntityType type, int id) {
|
---|
| 77 | return base.Channel.Request(type, id);
|
---|
| 78 | }
|
---|
| 79 |
|
---|
| 80 | public void Submit(HeuristicLab.OKB.Cockpit.Admin.OKBData.EntityType type, int id) {
|
---|
| 81 | base.Channel.Submit(type, id);
|
---|
| 82 | }
|
---|
| 83 |
|
---|
| 84 | public byte[] GetNextChunk(int size) {
|
---|
| 85 | return base.Channel.GetNextChunk(size);
|
---|
| 86 | }
|
---|
| 87 |
|
---|
| 88 | public void SetNextChunk(byte[] data) {
|
---|
| 89 | base.Channel.SetNextChunk(data);
|
---|
| 90 | }
|
---|
| 91 |
|
---|
| 92 | public void TransferDone() {
|
---|
| 93 | base.Channel.TransferDone();
|
---|
| 94 | }
|
---|
| 95 |
|
---|
| 96 | public void AbortTransfer() {
|
---|
| 97 | base.Channel.AbortTransfer();
|
---|
| 98 | }
|
---|
| 99 | }
|
---|
| 100 | }
|
---|