Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/20/08 15:45:16 (16 years ago)
Author:
whackl
Message:

refactored the Client to ClientInfo (#378)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Communication/ServerProxy.cs

    r790 r791  
    1010
    1111    [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);
    1313
    1414    [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);
    1616
    1717    HeuristicLab.Hive.Contracts.Response EndLogin(System.IAsyncResult result);
     
    212212    public event System.EventHandler<LogoutCompletedEventArgs> LogoutCompleted;
    213213
    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) {
    215215      return base.Channel.Login(clientInfo);
    216216    }
    217217
    218218    [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) {
    220220      return base.Channel.BeginLogin(clientInfo, callback, asyncState);
    221221    }
     
    227227
    228228    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]));
    230230      return this.BeginLogin(clientInfo, callback, asyncState);
    231231    }
     
    244244    }
    245245
    246     public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo) {
     246    public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo) {
    247247      this.LoginAsync(clientInfo, null);
    248248    }
    249249
    250     public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.Client clientInfo, object userState) {
     250    public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo, object userState) {
    251251      if ((this.onBeginLoginDelegate == null)) {
    252252        this.onBeginLoginDelegate = new BeginOperationDelegate(this.OnBeginLogin);
Note: See TracChangeset for help on using the changeset viewer.