C# Class Universal.Torrent.Client.ClientEngine

The Engine that contains the TorrentManagers
Inheritance: IDisposable
Afficher le fichier Open project: haroldma/Universal.Torrent Class Usage Examples

Méthodes publiques

Свойство Type Description
SupportsDht bool
SupportsEncryption bool
SupportsEndgameMode bool
SupportsExtended bool
SupportsFastPeer bool
SupportsInitialSeed bool
SupportsLocalPeerDiscovery bool
SupportsWebSeed bool

Méthodes publiques

Méthode Description
ChangeListenEndpoint ( IPEndPoint endpoint ) : void
ClientEngine ( EngineSettings settings ) : System
ClientEngine ( EngineSettings settings, PeerListener listener ) : System
ClientEngine ( EngineSettings settings, PeerListener listener, PieceWriter writer ) : System
ClientEngine ( EngineSettings settings, PieceWriter writer ) : System
Contains ( Common torrent ) : bool
Contains ( InfoHash infoHash ) : bool
Contains ( TorrentManager manager ) : bool
Dispose ( ) : void
PauseAll ( ) : void
Register ( TorrentManager manager ) : void
RegisterDht ( IDhtEngine engine ) : 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 ) : System
settings Universal.Torrent.Client.Settings.EngineSettings
Résultat System

ClientEngine() public méthode

public ClientEngine ( EngineSettings settings, PeerListener listener ) : System
settings Universal.Torrent.Client.Settings.EngineSettings
listener Universal.Torrent.Client.ConnectionListeners.PeerListener
Résultat System

ClientEngine() public méthode

public ClientEngine ( EngineSettings settings, PeerListener listener, PieceWriter writer ) : System
settings Universal.Torrent.Client.Settings.EngineSettings
listener Universal.Torrent.Client.ConnectionListeners.PeerListener
writer Universal.Torrent.Client.PieceWriter.PieceWriter
Résultat System

ClientEngine() public méthode

public ClientEngine ( EngineSettings settings, PieceWriter writer ) : System
settings Universal.Torrent.Client.Settings.EngineSettings
writer Universal.Torrent.Client.PieceWriter.PieceWriter
Résultat System

Contains() public méthode

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

Contains() public méthode

public Contains ( InfoHash infoHash ) : bool
infoHash InfoHash
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

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

Property Details

SupportsDht public_oe static_oe property

public static bool SupportsDht
Résultat bool

SupportsEncryption public_oe static_oe property

public static bool SupportsEncryption
Résultat bool

SupportsEndgameMode public_oe static_oe property

public static bool SupportsEndgameMode
Résultat bool

SupportsExtended public_oe static_oe property

public static bool SupportsExtended
Résultat bool

SupportsFastPeer public_oe static_oe property

public static bool SupportsFastPeer
Résultat bool

SupportsInitialSeed public_oe static_oe property

public static bool SupportsInitialSeed
Résultat bool

SupportsLocalPeerDiscovery public_oe static_oe property

public static bool SupportsLocalPeerDiscovery
Résultat bool

SupportsWebSeed public_oe static_oe property

public static bool SupportsWebSeed
Résultat bool