프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AllLists | IEnumerable |
||
AllocateSlots | void | ||
ExecuteReview | void | ||
ExecuteTyrantReview | void | ||
ReallocateSlot | void | ||
ReallocateSlots | void | ||
RejectPendingRequests | void | ||
SecondsBetween | double | ||
UnchokePeerList | void |
메소드 | 설명 | |
---|---|---|
Choke ( |
||
ChokeUnchokeManager ( TorrentManager torrentManager, int minimumTimeBetweenReviews, int percentOfMaxRateToSkipReview ) : System |
Initializes a new instance of the ChokeUnchokeManager class.
|
|
TimePassed ( ) : void |
Executed each tick of the client engine
|
|
Unchoke ( |
||
UnchokeReview ( ) : void |
메소드 | 설명 | |
---|---|---|
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 Choke ( |
||
peer | ||
리턴 | void |
public ChokeUnchokeManager ( TorrentManager torrentManager, int minimumTimeBetweenReviews, int percentOfMaxRateToSkipReview ) : System | ||
torrentManager | TorrentManager | The torrent manager. |
minimumTimeBetweenReviews | int | The minimum time between reviews. |
percentOfMaxRateToSkipReview | int | The percent of maximum rate to skip review. |
리턴 | System |
public Unchoke ( |
||
peerToUnchoke | ||
리턴 | void |