Interface BiDiBNamedBeanInterface

All Known Implementing Classes:
BiDiBLight, BiDiBReporter, BiDiBSensor, BiDiBSignalMast, BiDiBTurnout

public interface BiDiBNamedBeanInterface
This interface specifies methods that the BiDiB object classes (turnouts, sensors, lights, reporters, signal masts) must implement.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Helper function that will be invoked after construction once the type has been set.
    Get the BiDiB address instance
    void
    called then a node was lost
    void
    called then a new node has been discovered
  • Method Details

    • getAddr

      Get the BiDiB address instance
      Returns:
      BiDiBAddress
    • finishLoad

      default void finishLoad()
      Helper function that will be invoked after construction once the type has been set. Used specifically for preventing double initialization when loading turnouts from XML.
    • nodeNew

      void nodeNew()
      called then a new node has been discovered
    • nodeLost

      void nodeLost()
      called then a node was lost