OnMqtt5Disconnected
Callback method
This method must not be called by the user. Instead, the function block FB_IotMqtt5ClientBase can be used to derive information and overwrite this method. During the call of the Execute() method the responsible TwinCAT driver has the possibility to call the OnMqtt5Disconnected() method in case of a disconnection with the message broker.
Syntax
METHOD OnMqtt5Disconnected : HRESULT
VAR_INPUT
pProps : POINTER TO MqttDisconnectProperties;
END_VAR
Return value
Name | Type | Description |
---|---|---|
OnMqtt5Disconnect | HRESULT |
|
Inputs
Name | Type | Description |
---|---|---|
pProps | POINTER TO MqttDisconnectProperties | MQTT properties received in case of Disconnect. |