TsgcWSPClient_MQTT › Methods

TsgcWSPClient_MQTT Methods

Public methods grouped by purpose, followed by the full alphabetical list.

Connection

NameDescription
ConnectSends an MQTT CONNECT packet to the broker over the underlying WebSocket transport.
DisconnectSends an MQTT DISCONNECT packet to end the session cleanly.
PingSends a PINGREQ control packet so the broker knows the session is still alive.

Messaging

NameDescription
PublishPublishes a message to a topic using the requested QoS and retain flags.
PublishAndWaitPublishes a message and blocks until the broker acknowledges it or the timeout elapses.
SubscribeSubscribes the client to one or more topic filters at the requested QoS.
UnSubscribeRemoves one or more active topic subscriptions from the current MQTT session.
AuthSends an MQTT 5.0 AUTH packet to perform or continue enhanced authentication with the broker.

Advanced

NameDescription
WriteDataWrites a pre-built MQTT control packet directly over the WebSocket transport.

All Methods (alphabetical)

NameDescription
AuthSends an MQTT 5.0 AUTH packet to perform or continue enhanced authentication with the broker.
ConnectSends an MQTT CONNECT packet to the broker over the underlying WebSocket transport.
DisconnectSends an MQTT DISCONNECT packet to end the session cleanly.
PingSends a PINGREQ control packet so the broker knows the session is still alive.
PublishPublishes a message to a topic using the requested QoS and retain flags.
PublishAndWaitPublishes a message and blocks until the broker acknowledges it or the timeout elapses.
SubscribeSubscribes the client to one or more topic filters at the requested QoS.
UnSubscribeRemoves one or more active topic subscriptions from the current MQTT session.
WriteDataWrites a pre-built MQTT control packet directly over the WebSocket transport.