Guest User

Untitled

a guest
Nov 21st, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import paho.mqtt.client as mqtt
  2. client = mqtt.Client("I am your client")
  3.  
  4. if self._max_queued_messages > 0 and len(self._out_messages) >= self._max_queued_messages:
  5. message.info.rc = MQTT_ERR_QUEUE_SIZE
  6. return message.info
Add Comment
Please, Sign In to add comment