SimCenterCommon
Common functionality used within different SimCenter projects
|
#include <RemoteService.h>
Public Slots | |
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 |
Signals | |
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) |
Public Member Functions | |
RemoteService (QObject *parent=nullptr) | |
virtual | ~RemoteService () |
virtual bool | isLoggedIn ()=0 |
This is the RemoteService Interface. It provides the abstraction of the remote service. the slot methods must be implemented by the concrete subclasses. interface by interacting with the agave interface using curl calls. These are synchronnous, so the UI will appear dead while calls ongoing!
Definition at line 59 of file RemoteService.h.
|
explicit |
Definition at line 39 of file RemoteService.cpp.
|
virtual |
Definition at line 45 of file RemoteService.cpp.
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
signal |
|
signal |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtual |
Implemented in AgaveCurl.
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |
|
signal |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
signal |