/// <summary> /// /// </summary> /// <param name="torrent"></param> /// <param name="tracker"></param> public TorrentTracker(Torrent torrent, Tracker tracker) { Torrent = torrent; Tracker = tracker; Peers = new List<Peer>(); // par défaut, les peers ne sont pas compactés Compact = false; }
/// <summary> /// /// </summary> /// <param name="torrent"></param> /// <param name="tracker"></param> /// <param name="compact"></param> public TorrentTracker(Torrent torrent, Tracker tracker, bool compact) : this(torrent, tracker) { Compact = compact; }