The files downloading manager This class is responsible for various files fetching tasks. It takes list of URLs with corresponding local file names and invokes CurlInterface managing requests operation continuing is permitted and sending proper status callbacks.
More...
List of all members.
Public Member Functions |
void | fetch (const StringToStringMap &files) |
| Performs files fetching.
|
| FilesFetch (AbstractFetchListener &listener, const AbstractOperationContinueRequest &continueRequest) |
| The constructor.
|
virtual | ~FilesFetch () |
| The destructor.
|
Static Public Member Functions |
static bool | isLocalFileUrl (const std::string &url) |
static bool | isLocalFileUrl (const std::string &url, std::string &localFileName) |
Detailed Description
Constructor & Destructor Documentation
- Parameters:
-
[in] | listener | A reference to object to receive status updates |
[in] | continueRequest | A reference to object to be asked operation continuing is permitted |
Member Function Documentation
void Deepsolver::FilesFetch::fetch |
( |
const StringToStringMap & |
files | ) |
|
Use this method to lounch downloading process.
- Parameters:
-
[in] | files | A map describing what URLs to what local files should be fetched |