Changeset 13969 for branches/thasling/DistributedGA/DistributedGA.Core
- Timestamp:
- 07/01/16 17:25:21 (8 years ago)
- Location:
- branches/thasling/DistributedGA/DistributedGA.Core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.Core/Implementation/PeerNetworkMessageHandler.cs
r13965 r13969 28 28 private IMessageService host = null; 29 29 30 public event EventHandler<Exception> ExceptionOccurend; 30 31 31 32 public void Init(string lanIpPrefix, string contactServerUrl, string problemInstance, int messageCacheCapacity, double communicationRate) { … … 120 121 } 121 122 123 private void PropagateException(Exception ex) { 124 //if (CountdownCompleted != null) 125 // CountdownCompleted(this, e); 126 if (ExceptionOccurend != null) { 127 ExceptionOccurend(this, ex); 128 } 129 } 130 122 131 private string GetInternalIpAddress(string ipPrefix) { 123 132 try { … … 146 155 147 156 private void AddError(string source, Exception ex) { 157 PropagateException(ex); 148 158 if (peerListManager != null) { 149 159 try { -
branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageHandler.cs
r13965 r13969 1 using System.Collections.Generic; 1 using System; 2 using System.Collections.Generic; 2 3 using DistributedGA.Core.Domain; 3 4 … … 17 18 18 19 void Dispose(); 20 21 event EventHandler<Exception> ExceptionOccurend; 19 22 } 20 23 }
Note: See TracChangeset
for help on using the changeset viewer.