Interface StateProfile

  • All Superinterfaces:
    Profile

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

      • 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 -