publish abstract method

int publish(
  1. PublicationTopic topic,
  2. MqttQos qualityOfService,
  3. Uint8Buffer data
)

Publish a message to the broker on the specified topic. The topic to send the message to The QOS to use when publishing the message. The message to send. The message identifier assigned to the message.

Implementation

int publish(
    PublicationTopic topic, MqttQos qualityOfService, typed.Uint8Buffer data);