Ignore:
Timestamp:
Jan 20, 2010, 3:09:12 PM (12 years ago)
Author:
arnold
Message:

Updated all P2PProjects - inclusive DLLs and PDBs

The lib is required by all developers, so I'm adding it explicitly to the repository.

override-bad-extension: Bootstrapper.dll
override-bad-extension: Bootstrapper.pdb
override-bad-extension: CertServices.dll
override-bad-extension: CertServices.pdb
override-bad-extension: FullMeshDHT.dll
override-bad-extension: FullMeshDHT.pdb
override-bad-extension: FullMeshOverlay.dll
override-bad-extension: FullMeshOverlay.pdb
override-bad-extension: Gears4Net.dll
override-bad-extension: Gears4Net.pdb
override-bad-extension: NetGearsTCP.dll
override-bad-extension: NetGearsTCP.pdb
override-bad-extension: PeersAtPlayBase.dll
override-bad-extension: PeersAtPlayBase.pdb
override-bad-extension: SimpleSnalNG.dll
override-bad-extension: SimpleSnalNG.pdb
override-bad-extension: Stun.dll
override-bad-extension: Stun.pdb
override-bad-extension: Util.dll
override-bad-extension: Util.pdb

Location:
trunk/CrypPlugins/PeerToPeerPublisher
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/PeerToPeerPublisher/P2PPublisherBase.cs

    r1090 r1098  
    175175                    if (this.peerManagement.Add(sender))
    176176                    {
    177                         GuiLogging("REGISTERED: Peer with ID " + sender, NotificationLevel.Info);
     177                        GuiLogging("REGISTERED: Peer with ID " + sender + "- RegExepted Msg was sent.", NotificationLevel.Info);
    178178                        this.p2pControl.SendToPeer(PubSubMessageType.RegisteringAccepted, sender);
    179179                    }
  • trunk/CrypPlugins/PeerToPeerPublisher/SubscribersManagement.cs

    r1068 r1098  
    9090
    9191        /// <summary>
    92         /// Removes Subscriber from list
     92        /// Removes Subscriber/Worker from all managment lists
    9393        /// </summary>
    94         /// <param name="subscriberId"></param>
     94        /// <param name="subscriberId">ID of the removed subscriber/worker</param>
    9595        /// <returns></returns>
    9696        public virtual bool Remove(PeerId subscriberId)
    9797        {
    98             return RemoveSubscriberEverywhere(subscriberId);
    99         }
    100 
    101         protected virtual bool RemoveSubscriberEverywhere(PeerId subId)
    102         {
    10398            bool result = false;
    104             lock(this.checkList)
     99            lock (this.checkList)
    105100            {
    106                 if(this.secondChanceList.Contains(subId))
    107                     this.secondChanceList.Remove(subId);
    108                 if (this.checkList.ContainsKey(subId))
     101                if (this.secondChanceList.Contains(subscriberId))
     102                    this.secondChanceList.Remove(subscriberId);
     103                if (this.checkList.ContainsKey(subscriberId))
    109104                {
    110                     this.checkList.Remove(subId);
     105                    this.checkList.Remove(subscriberId);
    111106                    result = true;
    112107                }
    113108
    114109                if (result && OnSubscriberRemoved != null)
    115                     OnSubscriberRemoved(subId);
     110                    OnSubscriberRemoved(subscriberId);
    116111            }
    117112            return result;
     
    149144            foreach (PeerId removeSub in removeSubscribersFromDict)
    150145            {
    151                 // functionality swapped for inheritance matters
    152                 RemoveSubscriberEverywhere(removeSub);
     146                Remove(removeSub);
    153147            }
    154148
Note: See TracChangeset for help on using the changeset viewer.