Storage module API
Excerpt of the unreleased (Next) module API (in the real site this page
is generated with Doxygen + moxygen from src/storage_module_plugin.h at the
pinned revision).
class StorageModuleImpl : public QObject {
Q_OBJECT
public:
// Start the storage node with the given configuration.
Q_INVOKABLE void startNode(const QVariantMap& config);
// Stop the running storage node.
Q_INVOKABLE void stopNode();
signals:
void nodeStarted();
void nodeStopped();
// NEW in 2.0.1: emitted when peer connectivity changes.
void connectivityChanged(bool online);
};