CorpusCallback informs the caller of CorpusService's createLocalMirror function about the progress of downloading and extracting the dataset. 
  
  | 
        
          | void cvac::CorpusCallback::corpusMirrorCompleted | ( | Corpus | corp | ) |  |  | private | 
 
Called once the createLocalMirror function has completed. 
 
 
  
  | 
        
          | void cvac::CorpusCallback::corpusMirrorProgress | ( | Corpus | corp, |  
          |  |  | int | numtasks, |  
          |  |  | int | currtask, |  
          |  |  | string | taskname, |  
          |  |  | string | details, |  
          |  |  | float | percentCompleted |  
          |  | ) |  |  |  | private | 
 
The CorpusService might or might not call this function to provide updates about the mirror creation progress. 
- Parameters
- 
  
    | corp | Which Corpus this progress report is for. |  | numtasks | How many tasks there are in total, e.g. download and extract would be numtasks==2. |  | currtask | What the number of the current task is, e.g. download==1. |  | taskname | For example, "downloading". |  | details | For example, "45MB of 375MB at 2.3MB/sec". |  | percentCompleted | A percentage between 0.0 and 1.0, concerning only the current task. |  
 
 
 
The documentation for this class was generated from the following file: