Jump to content

Eclipse Paho

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by DannyS712 bot (talk | contribs) at 17:42, 11 May 2020 (Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Eclipse Paho
Developer(s)eclipse
Initial release2014
Stable release
1.3 / June 28, 2017; 7 years ago (2017-06-28)[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

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

  1. ^ "Eclipse Paho 1.3.0 (Oxygen)". 2016-04-05. Retrieved 2018-05-09.
  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". Retrieved 2018-05-09.
  4. ^ "Practical MQTT with Paho Comparison". infoq.com. 2013-11-08. Retrieved 2018-05-09.

See also