Class FailureMessage.State

All Implemented Interfaces:
Iterable<Byte>, Collection<Byte>, List<Byte>
Enclosing class:
FailureMessage

public static class FailureMessage.State extends SetCommand
The failure message state
  • Method Details

    • getFailedMessageID

      public PropertyInteger getFailedMessageID()
      Returns:
      Capability identifier of the failed message
    • getFailedMessageType

      public PropertyInteger getFailedMessageType()
      Returns:
      Message type of the failed message
    • getFailureReason

      public Property<FailureMessage.FailureReason> getFailureReason()
      Returns:
      The failure reason
    • getFailureDescription

      public Property<String> getFailureDescription()
      Returns:
      Failure description
    • getFailedPropertyIDs

      public Property<com.highmobility.value.Bytes> getFailedPropertyIDs()
      Returns:
      Array of failed property identifiers
    • getPropertyFailed

      public boolean getPropertyFailed(Integer capabilityIdentifier, byte propertyIdentifier)
      Understand whether a specific message failed
      Parameters:
      capabilityIdentifier - The command capability identifier
      propertyIdentifier - The property identifier
      Returns:
      Whether the command failed.
    • getCommandFailed

      public boolean getCommandFailed(Integer identifier, Integer type)
      Understand whether a set/get command failed
      Parameters:
      identifier - The command identifier
      type - The command type
      Returns:
      Whether the command failed.