Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/01/16 17:25:21 (8 years ago)
Author:
thasling
Message:

#2615:
implemented migration strategies
log in HL now also logs exceptions of peers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/thasling/DistributedGA/DistributedGA.Core/Implementation/PeerNetworkMessageHandler.cs

    r13965 r13969  
    2828    private IMessageService host = null;
    2929
     30   public event EventHandler<Exception> ExceptionOccurend;   
    3031
    3132    public void Init(string lanIpPrefix, string contactServerUrl, string problemInstance, int messageCacheCapacity, double communicationRate) {
     
    120121    }
    121122
     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
    122131    private string GetInternalIpAddress(string ipPrefix) {
    123132      try {
     
    146155
    147156    private void AddError(string source, Exception ex) {
     157      PropagateException(ex);
    148158      if (peerListManager != null) {
    149159        try {
Note: See TracChangeset for help on using the changeset viewer.