Class ConfigModelPublicationStatus


public class ConfigModelPublicationStatus extends ConfigStatusMessage
To be used as a wrapper class for when creating the ConfigModelAppStatus Message.
  • Field Details

    • LOG

      public static final Logger LOG
  • Constructor Details

    • ConfigModelPublicationStatus

      public ConfigModelPublicationStatus(AccessMessage message)
      Constructs the ConfigModelAppStatus 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
    • getElementAddress

      public int getElementAddress()
      Returns the element address that the key was bound to
      Returns:
      element address
    • getAppKeyIndex

      public final int getAppKeyIndex()
      Returns the global app key index.
      Returns:
      appkey index
    • isSuccessful

      public boolean isSuccessful()
      Returns if the message was successful or not.
      Returns:
      true if successful or false otherwise
    • getPublishAddress

      public int getPublishAddress()
      Returns the publish address to which the model must publish to
    • getCredentialFlag

      public boolean getCredentialFlag()
      Returns the credential flag to be used for this message.
      Returns:
      true if friendship credentials to be used or false if master credentials is to be used.
    • getPublishTtl

      public int getPublishTtl()
      Returns the ttl of publication messages
      Returns:
      publication ttl
    • getPublicationSteps

      public int getPublicationSteps()
      Returns the number of publication steps.
      Returns:
      number of steps
    • getPublicationResolution

      public int getPublicationResolution()
      Returns the resolution for the publication steps.
      Returns:
      resolution
    • getPublishRetransmitCount

      public int getPublishRetransmitCount()
      Returns the number of retransmissions for each published message.
      Returns:
      number of retransmits
    • getPublishRetransmitIntervalSteps

      public int getPublishRetransmitIntervalSteps()
      Returns the number of 50-milliseconds steps between retransmissions.
      Returns:
      retransmit interval steps
    • getModelIdentifier

      public int getModelIdentifier()
      Returns the model identifier to which the key is to be bound.
      Returns:
      16-bit or 32-bit vendor model identifier