public class MqttClient extends java.lang.Object
a connector used to create a bridge between topology streams
and an MQTT broker.
The client either publishes some messages to a MQTT topic or subscribes to the topic and reports the messages received.
By default, a running MQTT broker with the following characteristics is assumed:
See the MQTT link above for information about setting up a MQTT broker.
This may be executed as:
java -cp samples/lib/org.apache.edgent.samples.connectors.mqtt.jar org.apache.edgent.samples.connectors.mqtt.MqttClient -h- Run directly from the command line.
|Constructor and Description|
Copyright © 2017 The Apache Software Foundation. All Rights Reserved - 4744f56-20170226-1707