internal void RaisePeersFound(PeersAddedEventArgs args)
 {
     Toolbox.RaiseAsyncEvent <PeersAddedEventArgs>(PeersFound, this, args);
 }
Пример #2
0
 static void manager_PeersFound(object sender, PeersAddedEventArgs e)
 {
     lock (listener)
         listener.WriteLine(string.Format("Found {0} new peers and {1} existing peers", e.NewPeers, e.ExistingPeers ));//throw new Exception("The method or operation is not implemented.");
 }
Пример #3
0
 internal void RaisePeersFound(PeersAddedEventArgs args)
 {
     PeersFound?.InvokeAsync(this, args);
 }
 static void manager_PeersFound(object sender, PeersAddedEventArgs e)
 {
 }
Пример #5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void manager_PeersFound(object sender, PeersAddedEventArgs e)
 {
     lock (this.topTrackers)
     {
         this.topTrackers.WriteLine(string.Format("Found {0} new peers and {1} existing peers.", e.NewPeers, e.ExistingPeers));
     }
 }
Пример #6
0
 private void manager_PeersFound(object sender, PeersAddedEventArgs args)
 {
     LoggingService.LogDebug("Peers Found!");
 }
Пример #7
0
 void HandleManagerPeersFound(object sender, PeersAddedEventArgs e)
 {
     foreach (TorrentInfoRow row in nodeview2.NodeStore)
     {
         if (row.TorrentManager.Torrent == e.TorrentManager.Torrent)
             newTorrents[row.Index] = e.NewPeers;
     }
 }