Package var.mom.mqtt.smarthome
Class LoggingSubscriber
- java.lang.Object
-
- var.mom.mqtt.smarthome.LoggingSubscriber
-
class LoggingSubscriber extends java.lang.Object
client for the Smart Home application: logs sensor observations- Author:
- Sandro Leuchter
-
-
Constructor Summary
Constructors Constructor Description LoggingSubscriber()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
main routine and starting point of program.
-
-
-
Constructor Detail
-
LoggingSubscriber
LoggingSubscriber()
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws org.eclipse.paho.client.mqttv3.MqttException
main routine and starting point of program. subscribe to topic Conf.TOPICSTART/# i.e. all messages in the Smart Home Application- Parameters:
args
- not used- Throws:
org.eclipse.paho.client.mqttv3.MqttException
- Paho library exceptions that have something to do with MQTT
-
-