C# Class Library.Net.Amoeba.DownloadManager

Inheritance: Library.StateManagerBase, Library.Configuration.ISettings
Afficher le fichier Open project: Alliance-Network/Library Class Usage Examples

Méthodes publiques

Méthode Description
DecodeStart ( ) : void
DecodeStop ( ) : void
Download ( Seed seed, int priority ) : void
Download ( Seed seed, string path, int priority ) : void
DownloadManager ( ConnectionsManager connectionsManager, CacheManager cacheManager, BufferManager bufferManager ) : System
Load ( string directoryPath ) : void
Remove ( int id ) : void
Reset ( int id ) : void
Save ( string directoryPath ) : void
SetPriority ( int id, int priority ) : void
Start ( ) : void
Stop ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
BlockRemoveThread ( IEnumerable keys ) : void
BlockSetThread ( IEnumerable keys ) : void
CheckState ( Library.Index index ) : void
DecodeThread ( ) : void
DownloadThread ( ) : void
GetNormalizedPath ( string path ) : string
GetUniqueFilePath ( string path ) : string
GetUniqueFileStream ( string path ) : UnbufferedFileStream
UncheckState ( Library.Index index ) : void

Method Details

DecodeStart() public méthode

public DecodeStart ( ) : void
Résultat void

DecodeStop() public méthode

public DecodeStop ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Download() public méthode

public Download ( Seed seed, int priority ) : void
seed Seed
priority int
Résultat void

Download() public méthode

public Download ( Seed seed, string path, int priority ) : void
seed Seed
path string
priority int
Résultat void

DownloadManager() public méthode

public DownloadManager ( ConnectionsManager connectionsManager, CacheManager cacheManager, BufferManager bufferManager ) : System
connectionsManager ConnectionsManager
cacheManager CacheManager
bufferManager Library.BufferManager
Résultat System

Load() public méthode

public Load ( string directoryPath ) : void
directoryPath string
Résultat void

Remove() public méthode

public Remove ( int id ) : void
id int
Résultat void

Reset() public méthode

public Reset ( int id ) : void
id int
Résultat void

Save() public méthode

public Save ( string directoryPath ) : void
directoryPath string
Résultat void

SetPriority() public méthode

public SetPriority ( int id, int priority ) : void
id int
priority int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void