Elements
6.2
A C++ base framework for the Euclid Software.
|
A data synchronizer for WebDAV hosts. More...
#include <WebdavSynchronizer.h>
Public Member Functions | |
virtual | ~WebdavSynchronizer ()=default |
WebdavSynchronizer (const ConnectionConfiguration &connection, const DependencyConfiguration &dependency) | |
std::string | createDownloadCommand (path distantFile, path localFile) const override |
Public Member Functions inherited from Elements::Services::DataSync::DataSynchronizer | |
virtual | ~DataSynchronizer ()=default |
DataSynchronizer (const ConnectionConfiguration &connection, const DependencyConfiguration &dependency) | |
void | downloadAllFiles () const |
Additional Inherited Members | |
Protected Member Functions inherited from Elements::Services::DataSync::DataSynchronizer | |
bool | fileShouldBeWritten (path localFile) const |
bool | fileAlreadyExists (path localFile) const |
void | downloadOneFile (path distantFile, path localFile) const |
bool | hasBeenDownloaded (path distantFile, path localFile) const |
Protected Attributes inherited from Elements::Services::DataSync::DataSynchronizer | |
ConnectionConfiguration | m_connection |
std::map< path, path > | m_fileMap |
A data synchronizer for WebDAV hosts.
Definition at line 49 of file WebdavSynchronizer.h.
|
virtualdefault |
Elements::Services::DataSync::WebdavSynchronizer::WebdavSynchronizer | ( | const ConnectionConfiguration & | connection, |
const DependencyConfiguration & | dependency | ||
) |
Definition at line 31 of file WebdavSynchronizer.cpp.
References Elements::Services::DataSync::webdavIsInstalled().
|
overridevirtual |
Implements Elements::Services::DataSync::DataSynchronizer.
Definition at line 40 of file WebdavSynchronizer.cpp.
References Elements::Services::DataSync::ConnectionConfiguration::hostUrl, Elements::Services::DataSync::DataSynchronizer::m_connection, Elements::Services::DataSync::ConnectionConfiguration::password, std::string::string(), std::to_string(), Elements::Services::DataSync::ConnectionConfiguration::tries, and Elements::Services::DataSync::ConnectionConfiguration::user.