Connects to the specified broker and sends it the Connect packet
Sends Disconnect packet to the broker and closes the underlying connection
Response to connection request
Client was disconnected from broker
Response to PingReq
Publish request acknowledged - QoS1
Confirmation that message was succesfully delivered (Sender side)
Publish request acknowledged - QoS2
Message was received from broker
Message was succesfully delivered to broker
Confirmation that unsubscribe request was successfully delivered to broker
Publishes the message on the specified topic
Subscribes to the specified topics
Unsubscribes from the specified topics
Return true, if client is in a connected state
MQTT Client implementation