Method | Description | |
---|---|---|
Complete ( |
Marks a job as complete, requires the completed article.
|
|
DownloadQueue ( |
Initializes the queue with an NZB, a directory to store temp files, and a directory to store completed files.
|
|
Fail ( |
Marks a job as failed
|
|
Pop ( ) : |
Returns the next job to be processed, or null if there are no jobs left.
|
Method | Description | |
---|---|---|
AssembleFile ( int FileId ) : void | ||
FileDownloaded ( int FileId ) : bool |
public Complete ( |
||
job | Job to complete | |
article | Article | Article of the completed job |
return | void |
public DownloadQueue ( |
||
nzb | NzbDocument to process | |
cachePath | string | Location to store file segments until they can be assembled |
completedPath | string | Location to store completed files. |
return | System |