#include <LocalCloudAdapter.h>
LocalCloudAdapter class implements CloudAdapter used to test the cloudAdapter interface while real clouds are not used
LocalCloudAdapter::LocalCloudAdapter |
( |
string |
_cloudID | ) |
|
bool LocalCloudAdapter::auth |
( |
| ) |
|
|
virtual |
Established authentication
- Returns
- successful
Implements CloudAdapter.
bool LocalCloudAdapter::checkExists |
( |
CloudFile |
cloudFile | ) |
|
|
virtual |
Checks if the file exists.
- Parameters
-
cloudFile | descriptor of the file to check |
- Returns
- true if the file exists, false otherwise
Implements CloudAdapter.
bool LocalCloudAdapter::deleteFile |
( |
CloudFile |
cloudFile | ) |
|
|
virtual |
Deletes a file from the cloud
- Parameters
-
cloudFile | file to download |
- Returns
- successful
Implements CloudAdapter.
Downloads a file from the cloud
- Parameters
-
cloudFile | file to download |
- Returns
- a downloaded file-fragment
Implements CloudAdapter.
long LocalCloudAdapter::getSize |
( |
CloudFile |
cloudFile | ) |
|
|
virtual |
Measures a files size on the cloud
- Parameters
-
- Returns
- size of file
Implements CloudAdapter.
bool LocalCloudAdapter::upload |
( |
CloudFile |
cloudFile | ) |
|
|
virtual |
Uploads a file to the cloud
- Parameters
-
- Returns
- successful
Implements CloudAdapter.
The documentation for this class was generated from the following files: