• CloudManager
  • CloudManager Class

    (nymeaserver::CloudManager)
    Inherits:

    Public Types

    enum CloudConnectionState { CloudConnectionStateDisabled, CloudConnectionStateUnconfigured, CloudConnectionStateConnecting, CloudConnectionStateConnected }

    Public Functions

    CloudManager(NymeaConfiguration * configuration, NetworkManager * networkManager, QObject * parent = nullptr)
    ~CloudManager()
    CloudConnectionState connectionState() const
    CloudNotifications * createNotificationsPlugin() const
    CloudTransport * createTransportInterface() const
    bool enabled() const
    bool installClientCertificates(const QByteArray & rootCA, const QByteArray & certificatePEM, const QByteArray & publicKey, const QByteArray & privateKey, const QString & endpoint)
    bool keepAlive(const QString & sessionId)
    void pairDevice(const QString & idToken, const QString & userId)
    void setEnabled(bool enabled)

    Signals

    void connectionStateChanged()
    void pairingReply(QString cognitoUserId, int status, const QString & message)

    Member Type Documentation

    enum CloudManager::CloudConnectionState

    Member Function Documentation

    CloudManager::CloudManager(NymeaConfiguration * configuration, NetworkManager * networkManager, QObject * parent = nullptr)

    CloudManager::~CloudManager()

    CloudConnectionState CloudManager::connectionState() const

    [signal] void CloudManager::connectionStateChanged()

    CloudNotifications * CloudManager::createNotificationsPlugin() const

    CloudTransport * CloudManager::createTransportInterface() const

    bool CloudManager::enabled() const

    See also setEnabled().

    bool CloudManager::installClientCertificates(const QByteArray & rootCA, const QByteArray & certificatePEM, const QByteArray & publicKey, const QByteArray & privateKey, const QString & endpoint)

    bool CloudManager::keepAlive(const QString & sessionId)

    void CloudManager::pairDevice(const QString & idToken, const QString & userId)

    [signal] void CloudManager::pairingReply(QString cognitoUserId, int status, const QString & message)

    void CloudManager::setEnabled(bool enabled)

    See also enabled().