Changeset 4289 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/ServerService/Reference.cs
- Timestamp:
- 08/23/10 14:40:19 (14 years ago)
- 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 22 22 [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseObjects.ResponseList<HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto>))] 23 23 [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); 25 25 26 26 [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); 28 28 29 29 HeuristicLab.Hive.Contracts.ResponseObjects.Response EndLogin(System.IAsyncResult result); … … 554 554 public event System.EventHandler<ProcessSnapshotStreamedCompletedEventArgs> ProcessSnapshotStreamedCompleted; 555 555 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); 563 563 } 564 564 … … 569 569 570 570 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); 573 573 } 574 574 … … 586 586 } 587 587 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) { 593 593 if ((this.onBeginLoginDelegate == null)) { 594 594 this.onBeginLoginDelegate = new BeginOperationDelegate(this.OnBeginLogin); … … 601 601 } 602 602 base.InvokeAsync(this.onBeginLoginDelegate, new object[] { 603 clientInfo}, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState);603 slaveId}, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState); 604 604 } 605 605
Note: See TracChangeset
for help on using the changeset viewer.