C# Class PutioFS.Core.DownloadManager

This is the master download manager. It manages smaller threads that do the actual download.
Exibir arquivo Open project: firat/PutioFS Class Usage Examples

Public Properties

Property Type Description
MaxConnections int
Online System.Boolean

Public Methods

Method Description
DownloadManager ( int max_connection_count ) : System
ProcessQueue ( ) : void
Register ( PutioFileHandle handle ) : System.Boolean
Unregister ( PutioFileHandle handle ) : System.Boolean
UpdatePosition ( PutioFileHandle handle ) : System.Boolean

Method Details

DownloadManager() public method

public DownloadManager ( int max_connection_count ) : System
max_connection_count int
return System

ProcessQueue() public method

public ProcessQueue ( ) : void
return void

Register() public method

public Register ( PutioFileHandle handle ) : System.Boolean
handle PutioFileHandle
return System.Boolean

Unregister() public method

public Unregister ( PutioFileHandle handle ) : System.Boolean
handle PutioFileHandle
return System.Boolean

UpdatePosition() public method

public UpdatePosition ( PutioFileHandle handle ) : System.Boolean
handle PutioFileHandle
return System.Boolean

Property Details

MaxConnections public_oe property

public int MaxConnections
return int

Online public_oe property

public Boolean,System Online
return System.Boolean