B4J Question MQTT client status

Ilya G.

Active Member
Licensed User
Longtime User
Is it possible to check mqtt client status, is it connected to broker or not?
 
Last edited:

udg

Expert
Licensed User
Longtime User
Have a look at the Chat example. If I recall correctly, each time a user enters/leaves the chat a corresponding message is sent to all the participants.
 
Upvote 0

madru

Active Member
Licensed User
Longtime User
client status can only be handled by the Broker. Look for a Broker who has SDK support than you can do customisation over callbacks. eg. get connects, disconnects send email execute custom code etc.
 
Upvote 0
Top