예제 #1
0
        private void EnterSeedMode()
        {
            ChangeState(TorrentState.Seeding);
            var mode = new SeedMode(Mode);

            mode.RaisedException += (s, e) => OnRaisedException(e.Value);
            mode.Start();
            Mode = mode;
            AnnounceManager.Started();
        }
예제 #2
0
 private void EnterSeedMode()
 {
     ChangeState(TorrentState.Seeding);
     var mode = new SeedMode(Mode);
     mode.RaisedException += (s, e) => OnRaisedException(e.Value);
     mode.Start();
     Mode = mode;
     AnnounceManager.Started();
 }