001package var.mom.mqtt.smarthome; 002 003public class Conf { 004 /** 005 * beginning topic level topic for the Smart Home Application 006 */ 007 public static final String TOPICSTART = "SmartHome4751"; // should be made 008 // unique 009 010 /** 011 * broker for the Smart Home Application 012 */ 013 public static final String BROKER = "tcp://localhost:1883"; // alternatively 014 // to HiveMQ 015 // public static final String BROKER = "tcp://broker.mqttdashboard.com"; 016 // alternatively to ApacheMQ 017 018 /** 019 * MQTT quality of service level for the Smart Home Application sensor messages 020 */ 021 public static final int QOS = 2; 022}