◆ checkNextUpdate()
DataFileUpdateService::checkNextUpdate | ( | dataFile | ) |
inline
Internal method to check the next update of a datafile at a polling interval set on the datafile.
- Parameters
-
- {DataFile} - dataFile the datafile to check updates for
◆ constructor()
DataFileUpdateService::constructor ( pipeline ) inlineConstructor for a DataFileUpdateService.
- Parameters
-
- {Pipeline} - pipeline pipeline the update service is attached to
◆ fileReady()
DataFileUpdateService::fileReady ( dataFile, filename ) inlineInternal method called when the datafile has been downloaded and is ready after an update.
- Parameters
-
- {DataFile} - dataFile the datafile that is ready
- {string} - filename the filename of the updated datafile
- Returns
- {undefined}
◆ processFile()
DataFileUpdateService::processFile ( dataFile, filename ) inlineInternal method to process the datafile has been downloaded Including unzipping if needed.
- Parameters
-
- {DataFile} - dataFile the datafile to processs
- {string} - filename the filename of the downloaded data
◆ registerDataFile()
DataFileUpdateService::registerDataFile ( dataFile ) inlineMethod that registers a datafile with the update service.
- Parameters
-
- {DataFile} - dataFile the datafile to register
◆ updateDataFile()
DataFileUpdateService::updateDataFile ( dataFile ) inlineMethod that updates a datafile when it is due an update.
- Parameters
-
- {DataFile} - dataFile the datafile to update
- Returns
- {undefined}