Eclipse Paho

From Wikipedia, the free encyclopedia
Eclipse Paho
Developer(s)eclipse
Initial release2014
Stable release
1.4.1 / February 25, 2019; 5 years ago (2019-02-25)[1]
Written inJava, C, Go, C#, Python, JavaScript
Operating systemCross-platform
PlatformJava Virtual Machine, .NET
TypeMQTT implementation
LicenseEclipse Public License
Websitewww.eclipse.org/paho/

Eclipse Paho is a MQTT (Message Queuing Telemetry Transport) implementation.[2]

Paho is available on various platforms and programming languages:[3]

Example[edit]

A 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]

  1. ^ "Eclipse Paho - projects.eclipse.org". projects.eclipse.org. 31 January 2013. Retrieved 2021-04-04.
  2. ^ "An Easy Route to Interoperability – Interview with Andy Piper on Eclipse Paho". jaxenter.com. 2012-06-01. Retrieved 2018-05-09.
  3. ^ "MQTT Client Comparison". Archived from the original on 2017-12-18. Retrieved 2018-05-09.
  4. ^ "Practical MQTT with Paho Comparison". infoq.com. 2013-11-08. Retrieved 2018-05-09.

See also[edit]