C# Class Library.Net.Amoeba.DownloadManager

Inheritance: Library.StateManagerBase, Library.Configuration.ISettings
ファイルを表示 Open project: Alliance-Network/Library Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

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

public DecodeStart ( ) : void
return void

DecodeStop() public method

public DecodeStop ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Download() public method

public Download ( Seed seed, int priority ) : void
seed Seed
priority int
return void

Download() public method

public Download ( Seed seed, string path, int priority ) : void
seed Seed
path string
priority int
return void

DownloadManager() public method

public DownloadManager ( ConnectionsManager connectionsManager, CacheManager cacheManager, BufferManager bufferManager ) : System
connectionsManager ConnectionsManager
cacheManager CacheManager
bufferManager Library.BufferManager
return System

Load() public method

public Load ( string directoryPath ) : void
directoryPath string
return void

Remove() public method

public Remove ( int id ) : void
id int
return void

Reset() public method

public Reset ( int id ) : void
id int
return void

Save() public method

public Save ( string directoryPath ) : void
directoryPath string
return void

SetPriority() public method

public SetPriority ( int id, int priority ) : void
id int
priority int
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void