C# Class OctoTorrent.Client.ClientEngine

The Engine that contains the TorrentManagers
Inheritance: IDisposable
Mostra file Open project: Eskat0n/OctoTorrent Class Usage Examples

Public Methods

Method 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

Method 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 method

public ChangeListenEndpoint ( IPEndPoint endpoint ) : void
endpoint System.Net.IPEndPoint
return void

ClientEngine() public method

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

ClientEngine() public method

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

ClientEngine() public method

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

ClientEngine() public method

public ClientEngine ( EngineSettings settings, string peerId = null ) : Common.System
settings EngineSettings
peerId string
return Common.System

Contains() public method

public Contains ( InfoHash infoHash ) : bool
infoHash InfoHash
return bool

Contains() public method

public Contains ( Torrent torrent ) : bool
torrent Torrent
return bool

Contains() public method

public Contains ( TorrentManager manager ) : bool
manager TorrentManager
return bool

Dispose() public method

public Dispose ( ) : void
return void

PauseAll() public method

public PauseAll ( ) : void
return void

Register() public method

public Register ( TorrentManager manager ) : void
manager TorrentManager
return void

RegisterDht() public method

public RegisterDht ( IDhtEngine engine ) : void
engine IDhtEngine
return void

SaveFastResume() public method

public SaveFastResume ( ) : void
return void

StartAll() public method

public StartAll ( ) : void
return void

StopAll() public method

public StopAll ( ) : void
return void

Unregister() public method

public Unregister ( TorrentManager manager ) : void
manager TorrentManager
return void