Mqttsamples

Why this method is synchronized?