Class MarklinSensor

All Implemented Interfaces:
Comparable<NamedBean>, PropertyChangeProvider, DigitalIO, NamedBean, Sensor

public class MarklinSensor extends AbstractSensor
Implement a Sensor via Marklin communications.

This object doesn't listen to the Marklin communications. This is because the sensor manager will handle all the messages as some sensor updates will come bundled together in one message. It also saves having multiple sensor beans each having to decoder the same message which would be better off being done in one location.

  • Constructor Details

  • Method Details

    • requestUpdateFromLayout

      public void requestUpdateFromLayout()
      Description copied from interface: DigitalIO
      Request an update from the layout soft/hardware. May not even happen, and if it does it will happen later; listen for the result.