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.cpp

32 lines
611 B
C++
Raw Normal View History

2023-11-29 10:53:20 +00:00
#include "app.h"
App::App() {
2023-12-22 11:44:28 +00:00
st.connectRequest("sdi.hevs.ch", 61614, "/", "sdi10", "809c02f36becb0868da98761fe3209f6");
st.sendRequest("/topic/sdi10.gem.command", "right");
st.subscribeRequest("/topic/sdi10.gem.field", 1);
2023-11-29 10:53:20 +00:00
}
2023-11-30 08:53:53 +00:00
void App::connectConfirmation(bool success, int version) {
}
void App::sendConfirmation(bool success) {
}
void App::subscribeConfirmation(bool success) {
2023-12-22 11:44:28 +00:00
st.sendRequest("/topic/sdi10.gem.command", "up");
2023-11-30 08:53:53 +00:00
}
void App::receiveIndication(int id, QString destination, QString body) {
}
void App::disconnectConfirmation() {
}
void App::disconnectIndication() {
}