def mqttConnectionMade(self):
if self._cleanStart:<EOL><INDENT>self._purgeSession(MQTTSessionCleared())<EOL><DEDENT>else:<EOL><INDENT>self._syncSession()<EOL><DEDENT>if self.onMqttConnectionMade:<EOL><INDENT>self.onMqttConnectionMade()<EOL><DEDENT>
Called when a CONNACK has been received (publisher only).