Package jmri.jmrix.mqtt.logixng
Class CategoryMqtt
- java.lang.Object
-
- jmri.jmrit.logixng.Category
-
- jmri.jmrix.mqtt.logixng.CategoryMqtt
-
- All Implemented Interfaces:
java.lang.Comparable<Category>
public final class CategoryMqtt extends Category
Defines the category MQTT
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.logixng.Category
Category.Common, Category.FlowControl, Category.Item, Category.Linux, Category.Other
-
-
Field Summary
Fields Modifier and Type Field Description static CategoryMqtt
MQTT
A item on the layout, for example turnout, sensor and signal mast.
-
Constructor Summary
Constructors Constructor Description CategoryMqtt()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
hasMQTT()
Do we have a MQTT connection?static void
registerCategory()
-
-
-
Field Detail
-
MQTT
public static final CategoryMqtt MQTT
A item on the layout, for example turnout, sensor and signal mast.
-
-
Constructor Detail
-
CategoryMqtt
public CategoryMqtt()
-
-
Method Detail
-
registerCategory
public static void registerCategory()
-
hasMQTT
public static boolean hasMQTT()
Do we have a MQTT connection?- Returns:
- true if we have MQTT, false otherwise
-
-