![]() |
SimCenterCommon
Common functionality used within different SimCenter projects
|
#include <AgaveCurl.h>


Public Slots | |
| void | loginCall (QString login, QString password) |
| void | logoutCall () |
| void | mkdirCall (const QString &remoteName, const QString &remotePath) |
| void | uploadFileCall (const QString &local, const QString &remote) |
| void | downloadFilesCall (const QStringList &remote, const QStringList &local, QObject *sender=nullptr) |
| void | uploadDirectoryCall (const QString &local, const QString &remote) |
| void | removeDirectoryCall (const QString &remote) |
| void | getHomeDirPathCall (void) |
| void | startJobCall (const QJsonObject &theJob) |
| void | getJobListCall (const QString &matchingName, QString appIdFilter=QString("")) |
| void | getJobDetailsCall (const QString &jobID) |
| void | getJobStatusCall (const QString &jobID) |
| void | deleteJobCall (const QString &jobID, const QStringList &dirToRemove) |
| void | remoteLSCall (const QString &remotePath) |
Public Slots inherited from RemoteService | |
| virtual void | loginCall (QString login, QString password)=0 |
| virtual void | logoutCall ()=0 |
| virtual void | mkdirCall (const QString &remoteName, const QString &remotePath)=0 |
| virtual void | uploadFileCall (const QString &local, const QString &remote)=0 |
| virtual void | downloadFilesCall (const QStringList &remote, const QStringList &local, QObject *sender=nullptr)=0 |
| virtual void | uploadDirectoryCall (const QString &local, const QString &remote)=0 |
| virtual void | removeDirectoryCall (const QString &remote)=0 |
| virtual void | getHomeDirPathCall (void)=0 |
| virtual void | startJobCall (const QJsonObject &theJob)=0 |
| virtual void | getJobListCall (const QString &matchingName, QString appIdFilter=QString(""))=0 |
| virtual void | getJobDetailsCall (const QString &jobID)=0 |
| virtual void | getJobStatusCall (const QString &jobID)=0 |
| virtual void | deleteJobCall (const QString &jobID, const QStringList &dirToRemove)=0 |
| virtual void | remoteLSCall (const QString &remotePath)=0 |
Public Member Functions | |
| AgaveCurl (QString &tenant, QString &storage, QString *appDirName=nullptr, QObject *parent=nullptr) | |
| ~AgaveCurl () | |
| bool | login (QString login, QString password) |
| bool | logout () |
| bool | isLoggedIn () |
| QJsonArray | remoteLS (const QString &remotePath) |
| bool | mkdir (const QString &remoteName, const QString &remotePath) |
| bool | uploadFile (const QString &local, const QString &remote) |
| bool | downloadFile (const QString &remote, const QString &local) |
| bool | uploadDirectory (const QString &local, const QString &remote) |
| bool | removeDirectory (const QString &remote) |
| virtual QString | getHomeDirPath (void) |
| QString | startJob (const QString &jobDescription) |
| QString | startJob (const QJsonObject &theJob) |
| QJsonObject | getJobList (const QString &matchingName, QString appIdFilter=QString("")) |
| QJsonObject | getJobDetails (const QString &jobID) |
| QString | getJobStatus (const QString &jobID) |
| bool | deleteJob (const QString &jobID, const QStringList &dirToRemove) |
Public Member Functions inherited from RemoteService | |
| RemoteService (QObject *parent=nullptr) | |
| virtual | ~RemoteService () |
Additional Inherited Members | |
Signals inherited from RemoteService | |
| void | statusMessage (QString) |
| void | errorMessage (QString) |
| void | fatalMessage (QString) |
| void | loginReturn (bool ok) |
| void | logoutReturn (bool ok) |
| void | mkdirReturn (bool) |
| void | uploadFileReturn (bool) |
| void | downloadFilesReturn (bool, QObject *sender) |
| void | uploadDirectoryReturn (bool) |
| void | downloaDirectoryReturn (bool) |
| void | removeDirectoryReturn (bool) |
| void | getHomeDirPathReturn (QString) |
| void | startJobReturn (QString) |
| void | getJobListReturn (QJsonObject) |
| void | getJobDetailsReturn (QJsonObject) |
| void | getJobStatusReturn (QString) |
| void | deleteJobReturn (bool) |
| void | remoteLSReturn (QJsonArray dirList) |
Definition at line 67 of file AgaveCurl.h.
|
explicit |
Definition at line 78 of file AgaveCurl.cpp.
| AgaveCurl::~AgaveCurl | ( | ) |
Definition at line 111 of file AgaveCurl.cpp.
| bool AgaveCurl::deleteJob | ( | const QString & | jobID, |
| const QStringList & | dirToRemove | ||
| ) |
Definition at line 1211 of file AgaveCurl.cpp.
|
slot |
Definition at line 1199 of file AgaveCurl.cpp.
| bool AgaveCurl::downloadFile | ( | const QString & | remote, |
| const QString & | local | ||
| ) |
Definition at line 760 of file AgaveCurl.cpp.
|
slot |
Definition at line 744 of file AgaveCurl.cpp.
|
virtual |
Definition at line 422 of file AgaveCurl.cpp.
|
slot |
Definition at line 416 of file AgaveCurl.cpp.
| QJsonObject AgaveCurl::getJobDetails | ( | const QString & | jobID | ) |
Definition at line 1085 of file AgaveCurl.cpp.
|
slot |
Definition at line 1077 of file AgaveCurl.cpp.
| QJsonObject AgaveCurl::getJobList | ( | const QString & | matchingName, |
| QString | appIdFilter = QString("") |
||
| ) |
Definition at line 1022 of file AgaveCurl.cpp.
|
slot |
Definition at line 1016 of file AgaveCurl.cpp.
| QString AgaveCurl::getJobStatus | ( | const QString & | jobID | ) |
Definition at line 1131 of file AgaveCurl.cpp.
|
slot |
Definition at line 1124 of file AgaveCurl.cpp.
|
virtual |
Implements RemoteService.
Definition at line 152 of file AgaveCurl.cpp.
| bool AgaveCurl::login | ( | QString | login, |
| QString | password | ||
| ) |
Definition at line 173 of file AgaveCurl.cpp.
|
slot |
Definition at line 159 of file AgaveCurl.cpp.
| bool AgaveCurl::logout | ( | ) |
Definition at line 378 of file AgaveCurl.cpp.
|
slot |
Definition at line 371 of file AgaveCurl.cpp.
| bool AgaveCurl::mkdir | ( | const QString & | remoteName, |
| const QString & | remotePath | ||
| ) |
Definition at line 572 of file AgaveCurl.cpp.
|
slot |
Definition at line 566 of file AgaveCurl.cpp.
| QJsonArray AgaveCurl::remoteLS | ( | const QString & | remotePath | ) |
Definition at line 817 of file AgaveCurl.cpp.
|
slot |
Definition at line 1204 of file AgaveCurl.cpp.
| bool AgaveCurl::removeDirectory | ( | const QString & | remote | ) |
Definition at line 499 of file AgaveCurl.cpp.
|
slot |
Definition at line 493 of file AgaveCurl.cpp.
| QString AgaveCurl::startJob | ( | const QString & | jobDescription | ) |
Definition at line 895 of file AgaveCurl.cpp.
| QString AgaveCurl::startJob | ( | const QJsonObject & | theJob | ) |
Definition at line 930 of file AgaveCurl.cpp.
|
slot |
Definition at line 923 of file AgaveCurl.cpp.
| bool AgaveCurl::uploadDirectory | ( | const QString & | local, |
| const QString & | remote | ||
| ) |
Definition at line 436 of file AgaveCurl.cpp.
|
slot |
Definition at line 429 of file AgaveCurl.cpp.
| bool AgaveCurl::uploadFile | ( | const QString & | local, |
| const QString & | remote | ||
| ) |
Definition at line 648 of file AgaveCurl.cpp.
|
slot |
Definition at line 642 of file AgaveCurl.cpp.