Class OpenMessage

  • Direct Known Subclasses:
    AckOpenMessage, BaseOpenMessage

    public abstract class OpenMessage
    extends Object
    Abstract OpenWebNet messages.
    Author:
    M. Valla - Initial contribution
    • Constructor Detail

      • OpenMessage

        public OpenMessage()
    • Method Detail

      • getFrameValue

        public String getFrameValue()
        Gets the raw frame value
        Returns:
        the raw frame value as String
      • isCommand

        public abstract boolean isCommand()
        Is this OpenMessage a command? (*WHO..).
        Returns:
        true if it's a command frame
      • isACK

        public boolean isACK()
        Is this OpenMessage an ACK? (*#*1##).
        Returns:
        true if it's an ACK
      • isNACK

        public boolean isNACK()
        Is this OpenMessage an NACK? (*#*0##).
        Returns:
        true if it's an NACK
      • isBUSY_NACK

        public boolean isBUSY_NACK()
        Is this OpenMessage an BUSY_NACK? (*#*6##).
        Returns:
        true if it's an BUSY_NACK
      • toStringVerbose

        public abstract String toStringVerbose()
        Get a verbose representation of this message.
        Returns:
        verbose string representation