MqttPublishMessage constructor

MqttPublishMessage()

Initializes a new instance of the MqttPublishMessage class.

Implementation

MqttPublishMessage() {
  header = MqttHeader().asType(MqttMessageType.publish);
  variableHeader = MqttPublishVariableHeader(header);
  payload = MqttPublishPayload();
}