Class SceneRegisterStatus


public final class SceneRegisterStatus extends GenericStatusMessage
To be used as a wrapper class for when creating the GenericOnOffStatus Message.
  • Field Details

    • LOG

      public static final Logger LOG
  • Constructor Details

    • SceneRegisterStatus

      public SceneRegisterStatus(AccessMessage message)
      Constructs the GenericOnOffStatus mMessage.
      Parameters:
      message - Access Message
  • Method Details

    • getOpCode

      public int getOpCode()
      Description copied from class: MeshMessage
      Returns the opCode of this message
      Specified by:
      getOpCode in class MeshMessage
      Returns:
      opcode
    • getStatus

      public int getStatus()
      Returns the present state of the GenericOnOffModel
      Returns:
      true if on and false other wise
    • isSuccessful

      public boolean isSuccessful()
    • getCurrentScene

      public int getCurrentScene()
      Returns the target state of the GenericOnOffModel
      Returns:
      true if on and false other wise
    • getSceneList

      public List<Integer> getSceneList()
      Returns the scene list.
      Returns:
      scene list
    • getStatusMessage

      default String getStatusMessage(int status)