Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/23/10 10:50:26 (14 years ago)
Author:
kgrading
Message:

implemented the server on the client, using push & force push, added refresh buttons, added auto calender methods that traverse the tree... (#908)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Communication/3.2/Service References/ServerService/Reference.cs

    r3011 r3203  
    1 //------------------------------------------------------------------------------
     1//------------------------------------------------------------------------------
    22// <auto-generated>
    33//     This code was generated by a tool.
    4 //     Runtime Version:2.0.50727.3053
     4//     Runtime Version:2.0.50727.4927
    55//
    66//     Changes to this file may cause incorrect behavior and will be lost if
     
    1919        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
    2020        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
    21         [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseSerializedJob))]
    2221        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
    2322        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
     23        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseCalendar))]
    2424        HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.ClientDto clientInfo);
    2525       
     
    4444       
    4545        HeuristicLab.Hive.Contracts.ResponseJob EndSendJob(System.IAsyncResult result);
    46        
    47         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SendSerializedJob", ReplyAction="http://tempuri.org/IClientCommunicator/SendSerializedJobResponse")]
    48         HeuristicLab.Hive.Contracts.ResponseSerializedJob SendSerializedJob(System.Guid clientId);
    49        
    50         [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SendSerializedJob", ReplyAction="http://tempuri.org/IClientCommunicator/SendSerializedJobResponse")]
    51         System.IAsyncResult BeginSendSerializedJob(System.Guid clientId, System.AsyncCallback callback, object asyncState);
    52        
    53         HeuristicLab.Hive.Contracts.ResponseSerializedJob EndSendSerializedJob(System.IAsyncResult result);
    5446       
    5547        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/StoreFinishedJobResult", ReplyAction="http://tempuri.org/IClientCommunicator/StoreFinishedJobResultResponse")]
     
    7264        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
    7365        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
    74         [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseSerializedJob))]
    7566        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
    7667        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
     68        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseCalendar))]
    7769        HeuristicLab.Hive.Contracts.Response Logout(System.Guid clientId);
    7870       
     
    8577        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
    8678        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
    87         [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseSerializedJob))]
    8879        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
    8980        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
     81        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseCalendar))]
    9082        HeuristicLab.Hive.Contracts.Response IsJobStillNeeded(System.Guid jobId);
    9183       
     
    10395        HeuristicLab.Hive.Contracts.ResponsePlugin EndSendPlugins(System.IAsyncResult result);
    10496       
     97        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/GetCalendar", ReplyAction="http://tempuri.org/IClientCommunicator/GetCalendarResponse")]
     98        HeuristicLab.Hive.Contracts.ResponseCalendar GetCalendar(System.Guid clientId);
     99       
     100        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/GetCalendar", ReplyAction="http://tempuri.org/IClientCommunicator/GetCalendarResponse")]
     101        System.IAsyncResult BeginGetCalendar(System.Guid clientId, System.AsyncCallback callback, object asyncState);
     102       
     103        HeuristicLab.Hive.Contracts.ResponseCalendar EndGetCalendar(System.IAsyncResult result);
     104       
     105        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SetCalendarStatus", ReplyAction="http://tempuri.org/IClientCommunicator/SetCalendarStatusResponse")]
     106        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
     107        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
     108        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
     109        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
     110        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseCalendar))]
     111        HeuristicLab.Hive.Contracts.Response SetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state);
     112       
     113        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SetCalendarStatus", ReplyAction="http://tempuri.org/IClientCommunicator/SetCalendarStatusResponse")]
     114        System.IAsyncResult BeginSetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, System.AsyncCallback callback, object asyncState);
     115       
     116        HeuristicLab.Hive.Contracts.Response EndSetCalendarStatus(System.IAsyncResult result);
     117       
    105118        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/SendStreamedJob", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedJobResponse")]
    106119        System.IO.Stream SendStreamedJob(System.Guid clientId);
     
    195208            }
    196209        }
     210      public byte[] Data {
     211        get {
     212          base.RaiseExceptionIfNecessary();
     213          return (byte[]) this.results[1];
     214        }
     215      }
    197216
    198         public byte[] Data {
    199           get {
    200             base.RaiseExceptionIfNecessary();
    201             return ((byte[])(this.results[1]));
    202           }
    203         }
    204     }
    205    
    206     [System.Diagnostics.DebuggerStepThroughAttribute()]
    207     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    208     public partial class SendSerializedJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
    209        
    210         private object[] results;
    211        
    212         public SendSerializedJobCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
    213                 base(exception, cancelled, userState) {
    214             this.results = results;
    215         }
    216        
    217         public HeuristicLab.Hive.Contracts.ResponseSerializedJob Result {
    218             get {
    219                 base.RaiseExceptionIfNecessary();
    220                 return ((HeuristicLab.Hive.Contracts.ResponseSerializedJob)(this.results[0]));
    221             }
    222         }
    223217    }
    224218   
     
    320314    [System.Diagnostics.DebuggerStepThroughAttribute()]
    321315    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
     316    public partial class GetCalendarCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
     317       
     318        private object[] results;
     319       
     320        public GetCalendarCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
     321                base(exception, cancelled, userState) {
     322            this.results = results;
     323        }
     324       
     325        public HeuristicLab.Hive.Contracts.ResponseCalendar Result {
     326            get {
     327                base.RaiseExceptionIfNecessary();
     328                return ((HeuristicLab.Hive.Contracts.ResponseCalendar)(this.results[0]));
     329            }
     330        }
     331    }
     332   
     333    [System.Diagnostics.DebuggerStepThroughAttribute()]
     334    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
     335    public partial class SetCalendarStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
     336       
     337        private object[] results;
     338       
     339        public SetCalendarStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
     340                base(exception, cancelled, userState) {
     341            this.results = results;
     342        }
     343       
     344        public HeuristicLab.Hive.Contracts.Response Result {
     345            get {
     346                base.RaiseExceptionIfNecessary();
     347                return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));
     348            }
     349        }
     350    }
     351   
     352    [System.Diagnostics.DebuggerStepThroughAttribute()]
     353    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    322354    public partial class SendStreamedJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
    323355       
     
    416448        private System.Threading.SendOrPostCallback onSendJobCompletedDelegate;
    417449       
    418         private BeginOperationDelegate onBeginSendSerializedJobDelegate;
    419        
    420         private EndOperationDelegate onEndSendSerializedJobDelegate;
    421        
    422         private System.Threading.SendOrPostCallback onSendSerializedJobCompletedDelegate;
    423        
    424450        private BeginOperationDelegate onBeginStoreFinishedJobResultDelegate;
    425451       
     
    451477       
    452478        private System.Threading.SendOrPostCallback onSendPluginsCompletedDelegate;
     479       
     480        private BeginOperationDelegate onBeginGetCalendarDelegate;
     481       
     482        private EndOperationDelegate onEndGetCalendarDelegate;
     483       
     484        private System.Threading.SendOrPostCallback onGetCalendarCompletedDelegate;
     485       
     486        private BeginOperationDelegate onBeginSetCalendarStatusDelegate;
     487       
     488        private EndOperationDelegate onEndSetCalendarStatusDelegate;
     489       
     490        private System.Threading.SendOrPostCallback onSetCalendarStatusCompletedDelegate;
    453491       
    454492        private BeginOperationDelegate onBeginSendStreamedJobDelegate;
     
    501539        public event System.EventHandler<SendJobCompletedEventArgs> SendJobCompleted;
    502540       
    503         public event System.EventHandler<SendSerializedJobCompletedEventArgs> SendSerializedJobCompleted;
    504        
    505541        public event System.EventHandler<StoreFinishedJobResultCompletedEventArgs> StoreFinishedJobResultCompleted;
    506542       
     
    512548       
    513549        public event System.EventHandler<SendPluginsCompletedEventArgs> SendPluginsCompleted;
     550       
     551        public event System.EventHandler<GetCalendarCompletedEventArgs> GetCalendarCompleted;
     552       
     553        public event System.EventHandler<SetCalendarStatusCompletedEventArgs> SetCalendarStatusCompleted;
    514554       
    515555        public event System.EventHandler<SendStreamedJobCompletedEventArgs> SendStreamedJobCompleted;
     
    669709            base.InvokeAsync(this.onBeginSendJobDelegate, new object[] {
    670710                        clientId}, this.onEndSendJobDelegate, this.onSendJobCompletedDelegate, userState);
    671         }
    672        
    673         public HeuristicLab.Hive.Contracts.ResponseSerializedJob SendSerializedJob(System.Guid clientId) {
    674             return base.Channel.SendSerializedJob(clientId);
    675         }
    676        
    677         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    678         public System.IAsyncResult BeginSendSerializedJob(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
    679             return base.Channel.BeginSendSerializedJob(clientId, callback, asyncState);
    680         }
    681        
    682         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    683         public HeuristicLab.Hive.Contracts.ResponseSerializedJob EndSendSerializedJob(System.IAsyncResult result) {
    684             return base.Channel.EndSendSerializedJob(result);
    685         }
    686        
    687         private System.IAsyncResult OnBeginSendSerializedJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
    688             System.Guid clientId = ((System.Guid)(inValues[0]));
    689             return this.BeginSendSerializedJob(clientId, callback, asyncState);
    690         }
    691        
    692         private object[] OnEndSendSerializedJob(System.IAsyncResult result) {
    693             HeuristicLab.Hive.Contracts.ResponseSerializedJob retVal = this.EndSendSerializedJob(result);
    694             return new object[] {
    695                     retVal};
    696         }
    697        
    698         private void OnSendSerializedJobCompleted(object state) {
    699             if ((this.SendSerializedJobCompleted != null)) {
    700                 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
    701                 this.SendSerializedJobCompleted(this, new SendSerializedJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
    702             }
    703         }
    704        
    705         public void SendSerializedJobAsync(System.Guid clientId) {
    706             this.SendSerializedJobAsync(clientId, null);
    707         }
    708        
    709         public void SendSerializedJobAsync(System.Guid clientId, object userState) {
    710             if ((this.onBeginSendSerializedJobDelegate == null)) {
    711                 this.onBeginSendSerializedJobDelegate = new BeginOperationDelegate(this.OnBeginSendSerializedJob);
    712             }
    713             if ((this.onEndSendSerializedJobDelegate == null)) {
    714                 this.onEndSendSerializedJobDelegate = new EndOperationDelegate(this.OnEndSendSerializedJob);
    715             }
    716             if ((this.onSendSerializedJobCompletedDelegate == null)) {
    717                 this.onSendSerializedJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendSerializedJobCompleted);
    718             }
    719             base.InvokeAsync(this.onBeginSendSerializedJobDelegate, new object[] {
    720                         clientId}, this.onEndSendSerializedJobDelegate, this.onSendSerializedJobCompletedDelegate, userState);
    721711        }
    722712       
     
    987977        }
    988978       
     979        public HeuristicLab.Hive.Contracts.ResponseCalendar GetCalendar(System.Guid clientId) {
     980            return base.Channel.GetCalendar(clientId);
     981        }
     982       
     983        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     984        public System.IAsyncResult BeginGetCalendar(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
     985            return base.Channel.BeginGetCalendar(clientId, callback, asyncState);
     986        }
     987       
     988        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     989        public HeuristicLab.Hive.Contracts.ResponseCalendar EndGetCalendar(System.IAsyncResult result) {
     990            return base.Channel.EndGetCalendar(result);
     991        }
     992       
     993        private System.IAsyncResult OnBeginGetCalendar(object[] inValues, System.AsyncCallback callback, object asyncState) {
     994            System.Guid clientId = ((System.Guid)(inValues[0]));
     995            return this.BeginGetCalendar(clientId, callback, asyncState);
     996        }
     997       
     998        private object[] OnEndGetCalendar(System.IAsyncResult result) {
     999            HeuristicLab.Hive.Contracts.ResponseCalendar retVal = this.EndGetCalendar(result);
     1000            return new object[] {
     1001                    retVal};
     1002        }
     1003       
     1004        private void OnGetCalendarCompleted(object state) {
     1005            if ((this.GetCalendarCompleted != null)) {
     1006                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     1007                this.GetCalendarCompleted(this, new GetCalendarCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
     1008            }
     1009        }
     1010       
     1011        public void GetCalendarAsync(System.Guid clientId) {
     1012            this.GetCalendarAsync(clientId, null);
     1013        }
     1014       
     1015        public void GetCalendarAsync(System.Guid clientId, object userState) {
     1016            if ((this.onBeginGetCalendarDelegate == null)) {
     1017                this.onBeginGetCalendarDelegate = new BeginOperationDelegate(this.OnBeginGetCalendar);
     1018            }
     1019            if ((this.onEndGetCalendarDelegate == null)) {
     1020                this.onEndGetCalendarDelegate = new EndOperationDelegate(this.OnEndGetCalendar);
     1021            }
     1022            if ((this.onGetCalendarCompletedDelegate == null)) {
     1023                this.onGetCalendarCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCalendarCompleted);
     1024            }
     1025            base.InvokeAsync(this.onBeginGetCalendarDelegate, new object[] {
     1026                        clientId}, this.onEndGetCalendarDelegate, this.onGetCalendarCompletedDelegate, userState);
     1027        }
     1028       
     1029        public HeuristicLab.Hive.Contracts.Response SetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state) {
     1030            return base.Channel.SetCalendarStatus(clientId, state);
     1031        }
     1032       
     1033        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     1034        public System.IAsyncResult BeginSetCalendarStatus(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, System.AsyncCallback callback, object asyncState) {
     1035            return base.Channel.BeginSetCalendarStatus(clientId, state, callback, asyncState);
     1036        }
     1037       
     1038        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     1039        public HeuristicLab.Hive.Contracts.Response EndSetCalendarStatus(System.IAsyncResult result) {
     1040            return base.Channel.EndSetCalendarStatus(result);
     1041        }
     1042       
     1043        private System.IAsyncResult OnBeginSetCalendarStatus(object[] inValues, System.AsyncCallback callback, object asyncState) {
     1044            System.Guid clientId = ((System.Guid)(inValues[0]));
     1045            HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state = ((HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState)(inValues[1]));
     1046            return this.BeginSetCalendarStatus(clientId, state, callback, asyncState);
     1047        }
     1048       
     1049        private object[] OnEndSetCalendarStatus(System.IAsyncResult result) {
     1050            HeuristicLab.Hive.Contracts.Response retVal = this.EndSetCalendarStatus(result);
     1051            return new object[] {
     1052                    retVal};
     1053        }
     1054       
     1055        private void OnSetCalendarStatusCompleted(object state) {
     1056            if ((this.SetCalendarStatusCompleted != null)) {
     1057                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     1058                this.SetCalendarStatusCompleted(this, new SetCalendarStatusCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
     1059            }
     1060        }
     1061       
     1062        public void SetCalendarStatusAsync(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state) {
     1063            this.SetCalendarStatusAsync(clientId, state, null);
     1064        }
     1065       
     1066        public void SetCalendarStatusAsync(System.Guid clientId, HeuristicLab.Hive.Contracts.BusinessObjects.CalendarState state, object userState) {
     1067            if ((this.onBeginSetCalendarStatusDelegate == null)) {
     1068                this.onBeginSetCalendarStatusDelegate = new BeginOperationDelegate(this.OnBeginSetCalendarStatus);
     1069            }
     1070            if ((this.onEndSetCalendarStatusDelegate == null)) {
     1071                this.onEndSetCalendarStatusDelegate = new EndOperationDelegate(this.OnEndSetCalendarStatus);
     1072            }
     1073            if ((this.onSetCalendarStatusCompletedDelegate == null)) {
     1074                this.onSetCalendarStatusCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetCalendarStatusCompleted);
     1075            }
     1076            base.InvokeAsync(this.onBeginSetCalendarStatusDelegate, new object[] {
     1077                        clientId,
     1078                        state}, this.onEndSetCalendarStatusDelegate, this.onSetCalendarStatusCompletedDelegate, userState);
     1079        }
     1080       
    9891081        public System.IO.Stream SendStreamedJob(System.Guid clientId) {
    9901082            return base.Channel.SendStreamedJob(clientId);
Note: See TracChangeset for help on using the changeset viewer.