Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/17/08 14:24:16 (16 years ago)
Author:
whackl
Message:

added new features (#397)

Location:
trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.cs

    r973 r1002  
    317317        HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos();
    318318       
     319        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfosResponse")]
     320        System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState);
     321       
     322        HeuristicLab.Hive.Client.Console.ClientService.StatusCommons EndGetStatusInfos(System.IAsyncResult result);
     323       
    319324        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetConnectionResponse")]
    320325        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection();
    321326       
     327        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetConnectionResponse")]
     328        System.IAsyncResult BeginGetConnection(System.AsyncCallback callback, object asyncState);
     329       
     330        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetConnection(System.IAsyncResult result);
     331       
    322332        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/SetConnectionResponse")]
    323333        void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container);
    324334       
     335        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/SetConnectionResponse")]
     336        System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, System.AsyncCallback callback, object asyncState);
     337       
     338        void EndSetConnection(System.IAsyncResult result);
     339       
    325340        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/DisconnectResponse")]
    326341        void Disconnect();
    327342       
     343        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/DisconnectResponse")]
     344        System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState);
     345       
     346        void EndDisconnect(System.IAsyncResult result);
     347       
    328348        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse")]
    329349        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection();
     350       
     351        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse")]
     352        System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState);
     353       
     354        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result);
    330355    }
    331356   
    332357    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    333358    public interface IClientConsoleCommunicatorChannel : HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator, System.ServiceModel.IClientChannel {
     359    }
     360   
     361    [System.Diagnostics.DebuggerStepThroughAttribute()]
     362    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
     363    public partial class GetStatusInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
     364       
     365        private object[] results;
     366       
     367        public GetStatusInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
     368                base(exception, cancelled, userState) {
     369            this.results = results;
     370        }
     371       
     372        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons Result {
     373            get {
     374                base.RaiseExceptionIfNecessary();
     375                return ((HeuristicLab.Hive.Client.Console.ClientService.StatusCommons)(this.results[0]));
     376            }
     377        }
     378    }
     379   
     380    [System.Diagnostics.DebuggerStepThroughAttribute()]
     381    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
     382    public partial class GetConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
     383       
     384        private object[] results;
     385       
     386        public GetConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
     387                base(exception, cancelled, userState) {
     388            this.results = results;
     389        }
     390       
     391        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer Result {
     392            get {
     393                base.RaiseExceptionIfNecessary();
     394                return ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(this.results[0]));
     395            }
     396        }
     397    }
     398   
     399    [System.Diagnostics.DebuggerStepThroughAttribute()]
     400    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
     401    public partial class GetCurrentConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
     402       
     403        private object[] results;
     404       
     405        public GetCurrentConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
     406                base(exception, cancelled, userState) {
     407            this.results = results;
     408        }
     409       
     410        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer Result {
     411            get {
     412                base.RaiseExceptionIfNecessary();
     413                return ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(this.results[0]));
     414            }
     415        }
    334416    }
    335417   
     
    338420    public partial class ClientConsoleCommunicatorClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator>, HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator {
    339421       
     422        private BeginOperationDelegate onBeginGetStatusInfosDelegate;
     423       
     424        private EndOperationDelegate onEndGetStatusInfosDelegate;
     425       
     426        private System.Threading.SendOrPostCallback onGetStatusInfosCompletedDelegate;
     427       
     428        private BeginOperationDelegate onBeginGetConnectionDelegate;
     429       
     430        private EndOperationDelegate onEndGetConnectionDelegate;
     431       
     432        private System.Threading.SendOrPostCallback onGetConnectionCompletedDelegate;
     433       
     434        private BeginOperationDelegate onBeginSetConnectionDelegate;
     435       
     436        private EndOperationDelegate onEndSetConnectionDelegate;
     437       
     438        private System.Threading.SendOrPostCallback onSetConnectionCompletedDelegate;
     439       
     440        private BeginOperationDelegate onBeginDisconnectDelegate;
     441       
     442        private EndOperationDelegate onEndDisconnectDelegate;
     443       
     444        private System.Threading.SendOrPostCallback onDisconnectCompletedDelegate;
     445       
     446        private BeginOperationDelegate onBeginGetCurrentConnectionDelegate;
     447       
     448        private EndOperationDelegate onEndGetCurrentConnectionDelegate;
     449       
     450        private System.Threading.SendOrPostCallback onGetCurrentConnectionCompletedDelegate;
     451       
    340452        public ClientConsoleCommunicatorClient() {
    341453        }
     
    357469        }
    358470       
     471        public event System.EventHandler<GetStatusInfosCompletedEventArgs> GetStatusInfosCompleted;
     472       
     473        public event System.EventHandler<GetConnectionCompletedEventArgs> GetConnectionCompleted;
     474       
     475        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetConnectionCompleted;
     476       
     477        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DisconnectCompleted;
     478       
     479        public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted;
     480       
    359481        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos() {
    360482            return base.Channel.GetStatusInfos();
    361483        }
    362484       
     485        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     486        public System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState) {
     487            return base.Channel.BeginGetStatusInfos(callback, asyncState);
     488        }
     489       
     490        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     491        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons EndGetStatusInfos(System.IAsyncResult result) {
     492            return base.Channel.EndGetStatusInfos(result);
     493        }
     494       
     495        private System.IAsyncResult OnBeginGetStatusInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
     496            return this.BeginGetStatusInfos(callback, asyncState);
     497        }
     498       
     499        private object[] OnEndGetStatusInfos(System.IAsyncResult result) {
     500            HeuristicLab.Hive.Client.Console.ClientService.StatusCommons retVal = this.EndGetStatusInfos(result);
     501            return new object[] {
     502                    retVal};
     503        }
     504       
     505        private void OnGetStatusInfosCompleted(object state) {
     506            if ((this.GetStatusInfosCompleted != null)) {
     507                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     508                this.GetStatusInfosCompleted(this, new GetStatusInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
     509            }
     510        }
     511       
     512        public void GetStatusInfosAsync() {
     513            this.GetStatusInfosAsync(null);
     514        }
     515       
     516        public void GetStatusInfosAsync(object userState) {
     517            if ((this.onBeginGetStatusInfosDelegate == null)) {
     518                this.onBeginGetStatusInfosDelegate = new BeginOperationDelegate(this.OnBeginGetStatusInfos);
     519            }
     520            if ((this.onEndGetStatusInfosDelegate == null)) {
     521                this.onEndGetStatusInfosDelegate = new EndOperationDelegate(this.OnEndGetStatusInfos);
     522            }
     523            if ((this.onGetStatusInfosCompletedDelegate == null)) {
     524                this.onGetStatusInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusInfosCompleted);
     525            }
     526            base.InvokeAsync(this.onBeginGetStatusInfosDelegate, null, this.onEndGetStatusInfosDelegate, this.onGetStatusInfosCompletedDelegate, userState);
     527        }
     528       
    363529        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection() {
    364530            return base.Channel.GetConnection();
    365531        }
    366532       
     533        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     534        public System.IAsyncResult BeginGetConnection(System.AsyncCallback callback, object asyncState) {
     535            return base.Channel.BeginGetConnection(callback, asyncState);
     536        }
     537       
     538        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     539        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetConnection(System.IAsyncResult result) {
     540            return base.Channel.EndGetConnection(result);
     541        }
     542       
     543        private System.IAsyncResult OnBeginGetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
     544            return this.BeginGetConnection(callback, asyncState);
     545        }
     546       
     547        private object[] OnEndGetConnection(System.IAsyncResult result) {
     548            HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer retVal = this.EndGetConnection(result);
     549            return new object[] {
     550                    retVal};
     551        }
     552       
     553        private void OnGetConnectionCompleted(object state) {
     554            if ((this.GetConnectionCompleted != null)) {
     555                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     556                this.GetConnectionCompleted(this, new GetConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
     557            }
     558        }
     559       
     560        public void GetConnectionAsync() {
     561            this.GetConnectionAsync(null);
     562        }
     563       
     564        public void GetConnectionAsync(object userState) {
     565            if ((this.onBeginGetConnectionDelegate == null)) {
     566                this.onBeginGetConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetConnection);
     567            }
     568            if ((this.onEndGetConnectionDelegate == null)) {
     569                this.onEndGetConnectionDelegate = new EndOperationDelegate(this.OnEndGetConnection);
     570            }
     571            if ((this.onGetConnectionCompletedDelegate == null)) {
     572                this.onGetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetConnectionCompleted);
     573            }
     574            base.InvokeAsync(this.onBeginGetConnectionDelegate, null, this.onEndGetConnectionDelegate, this.onGetConnectionCompletedDelegate, userState);
     575        }
     576       
    367577        public void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
    368578            base.Channel.SetConnection(container);
    369579        }
    370580       
     581        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     582        public System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, System.AsyncCallback callback, object asyncState) {
     583            return base.Channel.BeginSetConnection(container, callback, asyncState);
     584        }
     585       
     586        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     587        public void EndSetConnection(System.IAsyncResult result) {
     588            base.Channel.EndSetConnection(result);
     589        }
     590       
     591        private System.IAsyncResult OnBeginSetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
     592            HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container = ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(inValues[0]));
     593            return this.BeginSetConnection(container, callback, asyncState);
     594        }
     595       
     596        private object[] OnEndSetConnection(System.IAsyncResult result) {
     597            this.EndSetConnection(result);
     598            return null;
     599        }
     600       
     601        private void OnSetConnectionCompleted(object state) {
     602            if ((this.SetConnectionCompleted != null)) {
     603                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     604                this.SetConnectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
     605            }
     606        }
     607       
     608        public void SetConnectionAsync(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
     609            this.SetConnectionAsync(container, null);
     610        }
     611       
     612        public void SetConnectionAsync(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, object userState) {
     613            if ((this.onBeginSetConnectionDelegate == null)) {
     614                this.onBeginSetConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetConnection);
     615            }
     616            if ((this.onEndSetConnectionDelegate == null)) {
     617                this.onEndSetConnectionDelegate = new EndOperationDelegate(this.OnEndSetConnection);
     618            }
     619            if ((this.onSetConnectionCompletedDelegate == null)) {
     620                this.onSetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConnectionCompleted);
     621            }
     622            base.InvokeAsync(this.onBeginSetConnectionDelegate, new object[] {
     623                        container}, this.onEndSetConnectionDelegate, this.onSetConnectionCompletedDelegate, userState);
     624        }
     625       
    371626        public void Disconnect() {
    372627            base.Channel.Disconnect();
    373628        }
    374629       
     630        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     631        public System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState) {
     632            return base.Channel.BeginDisconnect(callback, asyncState);
     633        }
     634       
     635        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     636        public void EndDisconnect(System.IAsyncResult result) {
     637            base.Channel.EndDisconnect(result);
     638        }
     639       
     640        private System.IAsyncResult OnBeginDisconnect(object[] inValues, System.AsyncCallback callback, object asyncState) {
     641            return this.BeginDisconnect(callback, asyncState);
     642        }
     643       
     644        private object[] OnEndDisconnect(System.IAsyncResult result) {
     645            this.EndDisconnect(result);
     646            return null;
     647        }
     648       
     649        private void OnDisconnectCompleted(object state) {
     650            if ((this.DisconnectCompleted != null)) {
     651                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     652                this.DisconnectCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
     653            }
     654        }
     655       
     656        public void DisconnectAsync() {
     657            this.DisconnectAsync(null);
     658        }
     659       
     660        public void DisconnectAsync(object userState) {
     661            if ((this.onBeginDisconnectDelegate == null)) {
     662                this.onBeginDisconnectDelegate = new BeginOperationDelegate(this.OnBeginDisconnect);
     663            }
     664            if ((this.onEndDisconnectDelegate == null)) {
     665                this.onEndDisconnectDelegate = new EndOperationDelegate(this.OnEndDisconnect);
     666            }
     667            if ((this.onDisconnectCompletedDelegate == null)) {
     668                this.onDisconnectCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisconnectCompleted);
     669            }
     670            base.InvokeAsync(this.onBeginDisconnectDelegate, null, this.onEndDisconnectDelegate, this.onDisconnectCompletedDelegate, userState);
     671        }
     672       
    375673        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection() {
    376674            return base.Channel.GetCurrentConnection();
    377675        }
     676       
     677        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     678        public System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState) {
     679            return base.Channel.BeginGetCurrentConnection(callback, asyncState);
     680        }
     681       
     682        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     683        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result) {
     684            return base.Channel.EndGetCurrentConnection(result);
     685        }
     686       
     687        private System.IAsyncResult OnBeginGetCurrentConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
     688            return this.BeginGetCurrentConnection(callback, asyncState);
     689        }
     690       
     691        private object[] OnEndGetCurrentConnection(System.IAsyncResult result) {
     692            HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer retVal = this.EndGetCurrentConnection(result);
     693            return new object[] {
     694                    retVal};
     695        }
     696       
     697        private void OnGetCurrentConnectionCompleted(object state) {
     698            if ((this.GetCurrentConnectionCompleted != null)) {
     699                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     700                this.GetCurrentConnectionCompleted(this, new GetCurrentConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
     701            }
     702        }
     703       
     704        public void GetCurrentConnectionAsync() {
     705            this.GetCurrentConnectionAsync(null);
     706        }
     707       
     708        public void GetCurrentConnectionAsync(object userState) {
     709            if ((this.onBeginGetCurrentConnectionDelegate == null)) {
     710                this.onBeginGetCurrentConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetCurrentConnection);
     711            }
     712            if ((this.onEndGetCurrentConnectionDelegate == null)) {
     713                this.onEndGetCurrentConnectionDelegate = new EndOperationDelegate(this.OnEndGetCurrentConnection);
     714            }
     715            if ((this.onGetCurrentConnectionCompletedDelegate == null)) {
     716                this.onGetCurrentConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCurrentConnectionCompleted);
     717            }
     718            base.InvokeAsync(this.onBeginGetCurrentConnectionDelegate, null, this.onEndGetCurrentConnectionDelegate, this.onGetCurrentConnectionCompletedDelegate, userState);
     719        }
    378720    }
    379721}
  • trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.svcmap

    r954 r1002  
    22<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="94ae11a7-d639-4d8a-b9e6-a027596236fd" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
    33  <ClientOptions>
    4     <GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
     4    <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods>
    55    <EnableDataBinding>true</EnableDataBinding>
    66    <ExcludedTypes />
Note: See TracChangeset for help on using the changeset viewer.