Changeset 791 for trunk/sources/HeuristicLab.Hive.Client.Communication
- Timestamp:
- 11/20/08 15:45:16 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/ServerProxy.cs
r790 r791 10 10 11 11 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IClientCommunicator/Login", ReplyAction = "http://tempuri.org/IClientCommunicator/LoginResponse")] 12 HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo);12 HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo); 13 13 14 14 [System.ServiceModel.OperationContractAttribute(AsyncPattern = true, Action = "http://tempuri.org/IClientCommunicator/Login", ReplyAction = "http://tempuri.org/IClientCommunicator/LoginResponse")] 15 System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo, System.AsyncCallback callback, object asyncState);15 System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo, System.AsyncCallback callback, object asyncState); 16 16 17 17 HeuristicLab.Hive.Contracts.Response EndLogin(System.IAsyncResult result); … … 212 212 public event System.EventHandler<LogoutCompletedEventArgs> LogoutCompleted; 213 213 214 public HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo) {214 public HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo) { 215 215 return base.Channel.Login(clientInfo); 216 216 } 217 217 218 218 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 219 public System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo, System.AsyncCallback callback, object asyncState) {219 public System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo, System.AsyncCallback callback, object asyncState) { 220 220 return base.Channel.BeginLogin(clientInfo, callback, asyncState); 221 221 } … … 227 227 228 228 private System.IAsyncResult OnBeginLogin(object[] inValues, System.AsyncCallback callback, object asyncState) { 229 HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo = ((HeuristicLab.Hive.Contracts.BusinessObjects.Client)(inValues[0]));229 HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo = ((HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo)(inValues[0])); 230 230 return this.BeginLogin(clientInfo, callback, asyncState); 231 231 } … … 244 244 } 245 245 246 public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo) {246 public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo) { 247 247 this.LoginAsync(clientInfo, null); 248 248 } 249 249 250 public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo, object userState) {250 public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo, object userState) { 251 251 if ((this.onBeginLoginDelegate == null)) { 252 252 this.onBeginLoginDelegate = new BeginOperationDelegate(this.OnBeginLogin);
Note: See TracChangeset
for help on using the changeset viewer.