Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/23/10 14:40:19 (14 years ago)
Author:
cneumuel
Message:

added role-permission checks, updated service reference (#1168)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/ServerService/Reference.cs

    r4267 r4289  
    2222        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto>))]
    2323        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar))]
    24         HeuristicLab.Hive.Contracts.ResponseObjects.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto clientInfo);
     24        HeuristicLab.Hive.Contracts.ResponseObjects.Response Login(System.Guid slaveId);
    2525       
    2626        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveCommunicator/Login", ReplyAction="http://tempuri.org/ISlaveCommunicator/LoginResponse")]
    27         System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto clientInfo, System.AsyncCallback callback, object asyncState);
     27        System.IAsyncResult BeginLogin(System.Guid slaveId, System.AsyncCallback callback, object asyncState);
    2828       
    2929        HeuristicLab.Hive.Contracts.ResponseObjects.Response EndLogin(System.IAsyncResult result);
     
    554554        public event System.EventHandler<ProcessSnapshotStreamedCompletedEventArgs> ProcessSnapshotStreamedCompleted;
    555555       
    556         public HeuristicLab.Hive.Contracts.ResponseObjects.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto clientInfo) {
    557             return base.Channel.Login(clientInfo);
    558         }
    559        
    560         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    561         public System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto clientInfo, System.AsyncCallback callback, object asyncState) {
    562             return base.Channel.BeginLogin(clientInfo, callback, asyncState);
     556        public HeuristicLab.Hive.Contracts.ResponseObjects.Response Login(System.Guid slaveId) {
     557            return base.Channel.Login(slaveId);
     558        }
     559       
     560        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     561        public System.IAsyncResult BeginLogin(System.Guid slaveId, System.AsyncCallback callback, object asyncState) {
     562            return base.Channel.BeginLogin(slaveId, callback, asyncState);
    563563        }
    564564       
     
    569569       
    570570        private System.IAsyncResult OnBeginLogin(object[] inValues, System.AsyncCallback callback, object asyncState) {
    571             HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto clientInfo = ((HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto)(inValues[0]));
    572             return this.BeginLogin(clientInfo, callback, asyncState);
     571            System.Guid slaveId = ((System.Guid)(inValues[0]));
     572            return this.BeginLogin(slaveId, callback, asyncState);
    573573        }
    574574       
     
    586586        }
    587587       
    588         public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto clientInfo) {
    589             this.LoginAsync(clientInfo, null);
    590         }
    591        
    592         public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.SlaveDto clientInfo, object userState) {
     588        public void LoginAsync(System.Guid slaveId) {
     589            this.LoginAsync(slaveId, null);
     590        }
     591       
     592        public void LoginAsync(System.Guid slaveId, object userState) {
    593593            if ((this.onBeginLoginDelegate == null)) {
    594594                this.onBeginLoginDelegate = new BeginOperationDelegate(this.OnBeginLogin);
     
    601601            }
    602602            base.InvokeAsync(this.onBeginLoginDelegate, new object[] {
    603                         clientInfo}, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState);
     603                        slaveId}, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState);
    604604        }
    605605       
Note: See TracChangeset for help on using the changeset viewer.