MqttConnectMessage constructor

MqttConnectMessage()

Initializes a new instance of the MqttConnectMessage class. Only called via the MqttMessage.create operation during processing of an Mqtt message stream.

Implementation

MqttConnectMessage() {
  header = MqttHeader().asType(MqttMessageType.connect);
  variableHeader = MqttConnectVariableHeader();
  payload = MqttConnectPayload(variableHeader);
}