eclipse / paho.mqtt.m2mqtt

Eclipse Public License 1.0
512 stars 303 forks source link

Multithreads client's. Who sent the message? #112

Open electrongr opened 4 years ago

electrongr commented 4 years ago

Hello! I have a multi-threaded client that is subscribed to various brokers and topics. Or, inside, read the settings for the current topic (UserName / Port). How to identify the broker from whom the message came in public void client_recievedMessage (object sender, MqttMsgPublishEventArgs e)?