ClientEngine

Description:

client base class:

Events:

StatsUpdate (object sender, StatsUpdateEventArgs args)
CriticalException (object sender, CriticalExceptionEventArgs args)
TorrentRegistered (object sender, TorrentEventArgs args)
TorrentUnregistered (object sender, TorrentEventArgs args)

Properties:

ConnectionManager ConnectionManager
IDhtEngine DhtEngine
DiskManager DiskManager
PeerListener Listener
bool Disposed
PeerListener Listener
bool LocalPeerSearchEnabled
bool IsRunning
string PeerId
EngineSettings Settings

Constructors:

ClientEngine(EngineSettings settings)
ClientEngine(EngineSettings settings, PieceWriter writer)
ClientEngine(EngineSettings settings, PeerListener listener)
ClientEngine(EngineSettings settings, PeerListener listener, PieceWriter writer)

Methods:

void ChangeListenEndpoint(IPEndPoint endpoint)
bool Contains(InfoHash infoHash)
bool Contains(Torrent torrent)
bool Contains(TorrentManager manager)
void Dispose()
void Register(TorrentManager manager)
void Unregister(TorrentManager manager)
void RegisterDht(IDhtEngine engine)
void StartAll()
WaitHandle[] StopAll()
void PauseAll()
int TotalDownloadSpeed
int TotalUploadSpeed

Also available in: HTML TXT