This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Eclipse Paho is a MQTT (Message Queuing Telemetry Transport) implementation.[2]
Developer(s) | eclipse |
---|---|
Initial release | 2014 |
Stable release | 1.4.1
/ February 25, 2019[1] |
Written in | Java, C, Go, C#, Python, JavaScript |
Operating system | Cross-platform |
Platform | Java Virtual Machine, .NET |
Type | MQTT implementation |
License | Eclipse Public License |
Website | www |
Paho is available on various platforms and programming languages:[3]
Example
editA simple example of using Paho could be:[4]
client = new MqttClient("tcp://localhost:1883", "pahomqttExample");
client.connect();
MqttMessage message = new MqttMessage();
message.setPayload("Hello World".getBytes());
client.publish("pahoExample/theTopic", message);
client.disconnect();
References
edit- ^ "Eclipse Paho - projects.eclipse.org". projects.eclipse.org. 31 January 2013. Retrieved 2021-04-04.
- ^ "An Easy Route to Interoperability – Interview with Andy Piper on Eclipse Paho". jaxenter.com. 2012-06-01. Retrieved 2018-05-09.
- ^ "MQTT Client Comparison". Archived from the original on 2017-12-18. Retrieved 2018-05-09.
- ^ "Practical MQTT with Paho Comparison". infoq.com. 2013-11-08. Retrieved 2018-05-09.
See also
edit