Changeset 924 for trunk/sources/HeuristicLab.Hive.Client.Communication
- Timestamp:
- 12/07/08 16:52:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.Hive.Client.Communication/WcfService.cs ¶
r923 r924 22 22 } 23 23 24 public enum ConnectionState { connected, disconnected, failed }; 24 public enum ConnectionState { connected, disconnected, failed } 25 public ConnectionState ConnState { get; set; } 26 27 public event EventHandler ConnectionRestored; 25 28 26 29 private ClientCommunicatorClient proxy = null; 27 28 public ConnectionState ConnState { get; set; }29 30 30 private string serverIP; 31 31 private string serverPort; … … 46 46 proxy.SendJobResultCompleted += new EventHandler<SendJobResultCompletedEventArgs>(proxy_SendJobResultCompleted); 47 47 proxy.SendHeartBeatCompleted += new EventHandler<SendHeartBeatCompletedEventArgs>(proxy_SendHeartBeatCompleted); 48 49 if (ConnState == ConnectionState.failed) 50 ConnectionRestored(this, new EventArgs()); 51 ConnState = ConnectionState.connected; 52 48 53 } 49 54 catch (Exception ex) {
Note: See TracChangeset
for help on using the changeset viewer.