Свойство | Type | Description | |
---|---|---|---|
AllLists | IEnumerable |
||
AllocateSlots | void | ||
ExecuteReview | void | ||
ExecuteTyrantReview | void | ||
ReallocateSlot | void | ||
ReallocateSlots | void | ||
RejectPendingRequests | void | ||
SecondsBetween | double | ||
UnchokePeerList | void |
Méthode | Description | |
---|---|---|
Choke ( |
||
ChokeUnchokeManager ( TorrentManager torrentManager, int minimumTimeBetweenReviews, int percentOfMaxRateToSkipReview ) : Common.System |
Creates a new choke/unchoke manager for a torrent manager
|
|
TimePassed ( ) : void |
Executed each tick of the client engine
|
|
Unchoke ( |
||
UnchokeReview ( ) : void |
Méthode | Description | |
---|---|---|
AllLists ( ) : IEnumerable |
||
AllocateSlots ( int alreadyUnchoked ) : void | ||
ExecuteReview ( ) : void | ||
ExecuteTyrantReview ( ) : void |
Review method for BitTyrant Choking/Unchoking Algorithm
|
|
ReallocateSlot ( int &NumberOfSlots, int &MaximumUnchokes, |
Reallocates the next slot with the specified peer if we can
|
|
ReallocateSlots ( int NumberOfSlots, int NumberOfUnchokedPeers ) : void |
Reallocates the specified number of upload slots
|
|
RejectPendingRequests ( |
Checks the send queue of the peer to see if there are any outstanding pieces which they requested and rejects them as necessary
|
|
SecondsBetween ( System.DateTime FirstTime, System.DateTime SecondTime ) : double | ||
UnchokePeerList ( List |
public ChokeUnchokeManager ( TorrentManager torrentManager, int minimumTimeBetweenReviews, int percentOfMaxRateToSkipReview ) : Common.System | ||
torrentManager | TorrentManager | |
minimumTimeBetweenReviews | int | |
percentOfMaxRateToSkipReview | int | |
Résultat | Common.System |
public Unchoke ( |
||
PeerToUnchoke | ||
Résultat | void |