TorrentManager
Version 9 (olivier dufour, 04/07/2009 08:40 PM)
| 1 | 1 | h1. TorrentManager | |
|---|---|---|---|
| 2 | 1 | ||
| 3 | 1 | h2. Events: | |
| 4 | 1 | ||
| 5 | 1 | PeerConnected(object sender, PeerConnectionEventArgs args) | |
| 6 | 1 | ||
| 7 | 1 | PeerDisconnected(object sender, PeerConnectionEventArgs args) | |
| 8 | 1 | ||
| 9 | 1 | PeersFound(object sender, PeersAddedEventArgs args) | |
| 10 | 1 | ||
| 11 | 1 | PieceHashed(object sender, PieceHashedEventArgs args) | |
| 12 | 1 | ||
| 13 | 1 | TorrentStateChanged(object sender, TorrentStateChangedEventArgs args) | |
| 14 | 1 | ||
| 15 | 1 | h2. Properties: | |
| 16 | 1 | ||
| 17 | 2 | olivier dufour | BitField Bitfield | 
| 18 | 2 | olivier dufour | bool CanUseDht | 
| 19 | 2 | olivier dufour | bool Complete | 
| 20 | 2 | olivier dufour | ClientEngine Engine | 
| 21 | 2 | olivier dufour | Error Error | 
| 22 | 2 | olivier dufour | int PeerReviewRoundsComplete | 
| 23 | 2 | olivier dufour | bool HashChecked | 
| 24 | 2 | olivier dufour | bool HasMetadata | 
| 25 | 2 | olivier dufour | ConnectionMonitor Monitor | 
| 26 | 2 | olivier dufour | int OpenConnections | 
| 27 | 2 | olivier dufour | PeerManager Peers | 
| 28 | 2 | olivier dufour | PieceManager PieceManager | 
| 29 | 2 | olivier dufour | double Progress | 
| 30 | 2 | olivier dufour | string SavePath | 
| 31 | 2 | olivier dufour | TorrentSettings Settings | 
| 32 | 2 | olivier dufour | TorrentState State | 
| 33 | 2 | olivier dufour | DateTime StartTime | 
| 34 | 2 | olivier dufour | TrackerManager TrackerManager | 
| 35 | 2 | olivier dufour | Torrent Torrent | 
| 36 | 2 | olivier dufour | int UploadingTo | 
| 37 | 2 | olivier dufour | bool IsInitialSeeding | 
| 38 | 2 | olivier dufour | InfoHash InfoHash | 
| 39 | 1 | ||
| 40 | 1 | h2. Constructor: | |
| 41 | 1 | ||
| 42 | 2 | olivier dufour | TorrentManager(Torrent torrent, string savePath, TorrentSettings settings) | 
| 43 | 2 | olivier dufour | TorrentManager(Torrent torrent, string savePath, TorrentSettings settings, string baseDirectory) | 
| 44 | 2 | olivier dufour | TorrentManager(InfoHash infoHash, string savePath, TorrentSettings settings, string torrentSave, List<MonoTorrentCollection<string>> announces) | 
| 45 | 2 | olivier dufour | |
| 46 | 1 | h2. Methods | |
| 47 | 1 | ||
| 48 | 2 | olivier dufour | void ChangePicker(PiecePicker picker) | 
| 49 | 9 | olivier dufour | List<code> < </code>Piece> GetActiveRequests() | 
| 50 | 6 | olivier dufour | List<PeerId> GetPeers() | 
| 51 | 2 | olivier dufour | void HashCheck(bool autoStart) | 
| 52 | 2 | olivier dufour | void MoveFiles(string newPath, bool overWriteExisting) | 
| 53 | 2 | olivier dufour | |
| 54 | 2 | olivier dufour | void Pause() | 
| 55 | 2 | olivier dufour | void Start() | 
| 56 | 2 | olivier dufour | WaitHandle Stop() | 
| 57 | 2 | olivier dufour | |
| 58 | 2 | olivier dufour | void LoadFastResume(FastResume data) | 
| 59 | 2 | olivier dufour | FastResume SaveFastResume() | 
| 60 | 2 | olivier dufour | |
| 61 | 2 | olivier dufour | void Dispose() | 
| 62 | 2 | olivier dufour | string ToString( ) | 
| 63 | 2 | olivier dufour | bool Equals(object obj) | 
| 64 | 2 | olivier dufour | bool Equals(TorrentManager other) | 
| 65 | 2 | olivier dufour | int GetHashCode() |