Dequeue
The method returns the return value TRUE if the removal of an MQTT message from the queue was successful. The number of MQTT messages currently in the queue (nQueuedMessages
property) is reduced by one through the removal of a message.
Syntax
METHOD Dequeue : BOOL
VAR_INPUT
fbMessage : REFERENCE TO FB_IotMqtt5Message;
END_VAR
Return value
Name | Type | Description |
---|---|---|
Dequeue | BOOL | The method returns the return value TRUE if the call was successful. |
Inputs
Name | Type | Description |
---|---|---|
fbMessage | REFERENCE TO FB_IotMqtt5Message | For the message itself the reference is transferred to an instance of type FB_IotMqtt5Message. |