API Reference

Version 1 (olivier dufour, 04/07/2009 03:29 PM)

1 1
h1. ClientEngine
2 1
3 1
h2. Description:
4 1
5 1
 client base class:
6 1
7 1
h2. Events:
8 1
9 1
 StatsUpdate (object sender, [[StatsUpdateEventArgs]] args)
10 1
11 1
 CriticalException (object sender, [[CriticalExceptionEventArgs]] args)
12 1
13 1
 TorrentRegistered (object sender, [[TorrentEventArgs]] args)
14 1
15 1
 TorrentUnregistered (object sender, [[TorrentEventArgs]] args)
16 1
17 1
h2. Properties:
18 1
19 1
 [[ConnectionManager]] ConnectionManager
20 1
 IDhtEngine DhtEngine
21 1
 [[DiskManager]] DiskManager
22 1
 [[PeerListener]] Listener
23 1
 bool Disposed
24 1
 [[PeerListener]] Listener
25 1
 bool LocalPeerSearchEnabled
26 1
 bool IsRunning
27 1
 string PeerId
28 1
 [[EngineSettings]] Settings
29 1
30 1
h2. Constructors:
31 1
32 1
 ClientEngine([[EngineSettings]] settings)
33 1
 ClientEngine([[EngineSettings]] settings, [[PieceWriter]] writer)
34 1
 ClientEngine([[EngineSettings]] settings, [[PeerListener]] listener)
35 1
 ClientEngine([[EngineSettings]] settings, [[PeerListener]] listener, [[PieceWriter]] writer)
36 1
37 1
h2. Methods:
38 1
39 1
 void ChangeListenEndpoint(IPEndPoint endpoint)
40 1
 
41 1
 bool Contains([[InfoHash]] infoHash)
42 1
 bool Contains([[Torrent]] torrent)
43 1
 bool Contains([[TorrentManager]] manager)
44 1
 
45 1
 void Dispose()
46 1
 
47 1
 
48 1
 void Register([[TorrentManager]] manager)
49 1
 void Unregister([[TorrentManager]] manager)
50 1
 
51 1
 void RegisterDht(IDhtEngine engine)
52 1
 
53 1
 void StartAll()
54 1
 WaitHandle[] StopAll()
55 1
 void PauseAll()
56 1
 
57 1
 int TotalDownloadSpeed
58 1
 int TotalUploadSpeed