Class LoggingSubscriber


  • class LoggingSubscriber
    extends java.lang.Object
    client for the Smart Home application: logs sensor observations
    Author:
    Sandro Leuchter
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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