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/interface/iStompObserver.h

25 lines
594 B
C
Raw Normal View History

2023-11-29 10:53:20 +00:00
#ifndef ISTOMPOBSERVER_H
#define ISTOMPOBSERVER_H
#include <QString>
namespace interface {
class iStompObserver {
2023-11-30 08:53:53 +00:00
public:
virtual ~iStompObserver() {}
protected:
iStompObserver() {}
public:
2023-12-26 17:10:52 +00:00
virtual void connectConfirmation(bool success, QString version) = 0;
2023-11-30 08:53:53 +00:00
virtual void sendConfirmation(bool success) = 0;
virtual void subscribeConfirmation(bool success) = 0;
virtual void receiveIndication(int id, QString destination, QString body) = 0;
virtual void disconnectConfirmation() = 0;
virtual void disconnectIndication() = 0;
2023-11-29 10:53:20 +00:00
};
}
#endif // ISTOMPOBSERVER_H