C# 클래스 OctoTorrent.Tracker.SimpleTorrentManager

This class is a TorrentManager which uses .Net Generics datastructures, such as Dictionary and List to manage Peers from a Torrent.
파일 보기 프로젝트 열기: Eskat0n/OctoTorrent 1 사용 예제들

공개 메소드들

메소드 설명
GetPeers ( ) : List
SimpleTorrentManager ( ITrackable trackable, IPeerComparer comparer, Tracker tracker ) : Common.System

비공개 메소드들

메소드 설명
Add ( Peer peer ) : void

Adds the peer to the tracker

ClearZombiePeers ( System.DateTime cutoff ) : void
GetPeers ( BEncodedDictionary response, int count, bool compact ) : void

Retrieves a semi-random list of peers which can be used to fulfill an Announce request

Remove ( Peer peer ) : void

Removes the peer from the tracker

Update ( OctoTorrent.Tracker.AnnounceParameters par ) : void

Updates the peer in the tracker database based on the announce parameters

UpdateCounts ( ) : void

메소드 상세

GetPeers() 공개 메소드

public GetPeers ( ) : List
리턴 List

SimpleTorrentManager() 공개 메소드

public SimpleTorrentManager ( ITrackable trackable, IPeerComparer comparer, Tracker tracker ) : Common.System
trackable ITrackable
comparer IPeerComparer
tracker Tracker
리턴 Common.System