public interface MqttContentParser<T extends NamedBean>
|Modifier and Type||Method and Description|
Load a bean's state from a received MQTT payload.
Create the payload for a particular state transformation on a particular bean.
bean- The particular item receiving the payload
payload- The entire string received via MQTT
IllegalArgumentException- if the payload is unparsable.
bean- The particular item sending the payload
newState- The value to be sent to the layout; this is not yet present in the bean
Copyright © 1997-2019 JMRI Community.
JMRI®, DecoderPro®, PanelPro, SignalPro, SoundPro, DispatcherPro, TrainPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: