Class MqttTurnout

    • Constructor Detail

      • MqttTurnout

        MqttTurnout​(MqttAdapter ma,
                    java.lang.String systemName,
                    java.lang.String sendTopic,
                    java.lang.String rcvTopic)
        Requires, but does not check, that the system name and topic be consistent
        Parameters:
        ma - Adapter to reference for connection
        systemName - System name of turnout
        sendTopic - MQTT topic to use when sending (full string, including systemName part)
        rcvTopic - MQTT topic to use when receiving (full string, including systemName part)