Ignore:
Timestamp:
Feb 28, 2010, 5:08:01 PM (12 years ago)
Author:
arnold
Message:

SubscriberManagement: Added a try/catch to a critical region
P2PPub/Mngr: Make Manager-Exchange possible. A new incoming Manager waits as long as the "old" Manager is waiting for the last job result. After that the "old" Manager removes its ID from the DHT and the new Manager can assume the old Managers functionality

Location:
trunk/CrypPlugins/PeerToPeerManager_NEW
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/PeerToPeerManager_NEW/P2PManagerBase_NEW.cs

    r1199 r1220  
    163163            if (OnAllJobResultsReceived != null)
    164164                OnAllJobResultsReceived(jobId);
     165
     166            /* New Feature. When all JobResults are received, stop Manager, so another
     167             * Manager can replace it and then allocate Jobs to the free workers*/
     168            GuiLogging("All Job results received, so deregistering from the solution network to accomodate this topic for another Manager.",NotificationLevel.Info);
     169            Stop(PubSubMessageType.Unregister);
    165170        }
    166171
  • trunk/CrypPlugins/PeerToPeerManager_NEW/P2PManager_KeyPattern.cs

    r1210 r1220  
    618618        {
    619619            timerProcessingTimeReset();
     620
     621            this.settings.MngStatusChanged(P2PManager_KeyPatternSettings.MngStatus.Finished);
    620622        }
    621623
Note: See TracChangeset for help on using the changeset viewer.