This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2019-04-08 13:55:15 +02:00

35 lines
750 B
C++

#ifndef CLOUDTRANSPORT_H
#define CLOUDTRANSPORT_H
#include <QObject>
#include "../transportinterface.h"
namespace remoteproxyclient {
class RemoteProxyConnection;
}
namespace nymeaserver {
class CloudTransport : public TransportInterface
{
Q_OBJECT
public:
explicit CloudTransport(const ServerConfiguration &config, QObject *parent = nullptr);
void sendData(const QUuid &clientId, const QByteArray &data) override;
void sendData(const QList<QUuid> &clientIds, const QByteArray &data) override;
bool startServer() override;
bool stopServer() override;
signals:
public slots:
void connectToCloud();
private:
remoteproxyclient::RemoteProxyConnection *m_remoteProxy = nullptr;
};
}
#endif // CLOUDTRANSPORT_H