C# Class OctoTorrent.Client.ClientEngine

The Engine that contains the TorrentManagers
Inheritance: IDisposable
Afficher le fichier Open project: Eskat0n/OctoTorrent Class Usage Examples

Méthodes publiques

Méthode Description
ChangeListenEndpoint ( IPEndPoint endpoint ) : void
ClientEngine ( EngineSettings settings, PeerListener listener, PieceWriter writer, string peerId = null ) : Common.System
ClientEngine ( EngineSettings settings, PeerListener listener, string peerId = null ) : Common.System
ClientEngine ( EngineSettings settings, PieceWriter writer, string peerId = null ) : Common.System
ClientEngine ( EngineSettings settings, string peerId = null ) : Common.System
Contains ( InfoHash infoHash ) : bool
Contains ( Torrent torrent ) : bool
Contains ( TorrentManager manager ) : bool
Dispose ( ) : void
PauseAll ( ) : void
Register ( TorrentManager manager ) : void
RegisterDht ( IDhtEngine engine ) : void
SaveFastResume ( ) : void
StartAll ( ) : void
StopAll ( ) : void
Unregister ( TorrentManager manager ) : void

Private Methods

Méthode Description
Broadcast ( TorrentManager manager ) : void
CheckDisposed ( ) : void
CreateRateLimiters ( ) : void
DhtEngineStateChanged ( object o, EventArgs e ) : void
GeneratePeerId ( ) : string
LogicTick ( ) : void
PieceHashed ( object sender, PieceHashedEventArgs e ) : void
RaiseCriticalException ( CriticalExceptionEventArgs e ) : void
RaiseStatsUpdate ( StatsUpdateEventArgs args ) : void
Start ( ) : void
Stop ( ) : void

Method Details

ChangeListenEndpoint() public méthode

public ChangeListenEndpoint ( IPEndPoint endpoint ) : void
endpoint System.Net.IPEndPoint
Résultat void

ClientEngine() public méthode

public ClientEngine ( EngineSettings settings, PeerListener listener, PieceWriter writer, string peerId = null ) : Common.System
settings EngineSettings
listener PeerListener
writer PieceWriter
peerId string
Résultat Common.System

ClientEngine() public méthode

public ClientEngine ( EngineSettings settings, PeerListener listener, string peerId = null ) : Common.System
settings EngineSettings
listener PeerListener
peerId string
Résultat Common.System

ClientEngine() public méthode

public ClientEngine ( EngineSettings settings, PieceWriter writer, string peerId = null ) : Common.System
settings EngineSettings
writer PieceWriter
peerId string
Résultat Common.System

ClientEngine() public méthode

public ClientEngine ( EngineSettings settings, string peerId = null ) : Common.System
settings EngineSettings
peerId string
Résultat Common.System

Contains() public méthode

public Contains ( InfoHash infoHash ) : bool
infoHash InfoHash
Résultat bool

Contains() public méthode

public Contains ( Torrent torrent ) : bool
torrent Torrent
Résultat bool

Contains() public méthode

public Contains ( TorrentManager manager ) : bool
manager TorrentManager
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

PauseAll() public méthode

public PauseAll ( ) : void
Résultat void

Register() public méthode

public Register ( TorrentManager manager ) : void
manager TorrentManager
Résultat void

RegisterDht() public méthode

public RegisterDht ( IDhtEngine engine ) : void
engine IDhtEngine
Résultat void

SaveFastResume() public méthode

public SaveFastResume ( ) : void
Résultat void

StartAll() public méthode

public StartAll ( ) : void
Résultat void

StopAll() public méthode

public StopAll ( ) : void
Résultat void

Unregister() public méthode

public Unregister ( TorrentManager manager ) : void
manager TorrentManager
Résultat void