Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1082


Ignore:
Timestamp:
01/07/09 16:11:07 (16 years ago)
Author:
kgrading
Message:

login is now executed every time the connection is reestablished (#418)

File:
1 edited

Legend:

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

    r1081 r1082  
    4747        proxy.SendJobResultCompleted += new EventHandler<SendJobResultCompletedEventArgs>(proxy_SendJobResultCompleted);
    4848        proxy.SendHeartBeatCompleted += new EventHandler<SendHeartBeatCompletedEventArgs>(proxy_SendHeartBeatCompleted);
    49         proxy.Open();       
    50         if (Connected != null)
    51           Connected(this, new EventArgs());           
     49        proxy.Open();
    5250        if (ConnState == NetworkEnum.WcfConnState.Failed)
    5351          ConnectionRestored(this, new EventArgs());
     52
    5453        ConnState = NetworkEnum.WcfConnState.Connected;
    5554        ConnectedSince = DateTime.Now;       
     55        if (Connected != null)
     56          Connected(this, new EventArgs());                               
    5657      }
    5758      catch (Exception ex) {
Note: See TracChangeset for help on using the changeset viewer.