Interface StateProfile

All Superinterfaces:
Profile
All Known Subinterfaces:
TimeSeriesProfile
All Known Implementing Classes:
ScriptProfile

@NonNullByDefault public interface StateProfile extends Profile
A StateProfile defined the communication for channels of STATE kind.
Author:
Simon Kaufmann - Initial contribution
  • Method Details

    • onCommandFromItem

      void onCommandFromItem(Command command)
      Will be called if a command should be forwarded to the binding.
      Parameters:
      command -
    • onCommandFromHandler

      void onCommandFromHandler(Command command)
      If a binding issued a command to a channel, this method will be called for each linked item.
      Parameters:
      command -
    • onStateUpdateFromHandler

      void onStateUpdateFromHandler(State state)
      If the binding indicated a state update on a channel, then this method will be called for each linked item.
      Parameters:
      state -