Package 

Class MqttPersistentData

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String key
    • Constructor Summary

      Constructors 
      Constructor Description
      MqttPersistentData(String key, Array<byte> header, int hOffset, int hLength, Array<byte> payload, int pOffset, int pLength) Construct a data object to pass across the MQTT client persistence interface.
    • Constructor Detail

      • MqttPersistentData

        MqttPersistentData(String key, Array<byte> header, int hOffset, int hLength, Array<byte> payload, int pOffset, int pLength)
        Construct a data object to pass across the MQTT client persistence interface.
        Parameters:
        key - The key which identifies this data
        header - The message header
        hOffset - The start offset of the header bytes in header.
        hLength - The length of the header in the header bytes array.
        payload - The message payload
        pOffset - The start offset of the payload bytes in payload.
        pLength - The length of the payload in the payload bytes array when persisting the message.