This repository has been archived on 2024-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
SDi-STOMP/app.h
2023-12-22 12:44:28 +01:00

27 lines
579 B
C++

#ifndef APP_H
#define APP_H
#include <QObject>
#include "interface/iStompObserver.h"
#include "stomp.h"
class App : public QObject, public interface::iStompObserver {
public:
App();
~App() = default;
// iStompObserver interface
private:
void connectConfirmation(bool success, int version);
void sendConfirmation(bool success);
void subscribeConfirmation(bool success);
void receiveIndication(int id, QString destination, QString body);
void disconnectConfirmation();
void disconnectIndication();
private:
Stomp st;
};
#endif // APP_H