Skip to content
Snippets Groups Projects
Commit 7ae12621 authored by fxk8y's avatar fxk8y :spider:
Browse files

Deactivating request interface

parent e29004fd
No related branches found
No related tags found
No related merge requests found
......@@ -441,10 +441,11 @@ class SpiderMQTT:
self.pendingMessages += [msg]
def request(self, requestTopic, responseTopic, payload, callback, pub_qos=0) -> Request: # TODO: do we know Request here…?
self.requests.add(self.Request(self, requestTopic, responseTopic, payload, callback, pub_qos))
# TODO: further actions needed????
# TODO: return Request!
# Deactivated for KISS
# def request(self, requestTopic, responseTopic, payload, callback, pub_qos=0) -> Request: # TODO: do we know Request here…?
# self.requests.add(self.Request(self, requestTopic, responseTopic, payload, callback, pub_qos))
# # TODO: further actions needed????
# # TODO: return Request!
def __onMessage(self, _cl, _ud, msg: Message):
message = Message(msg.topic, msg.payload)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment