TsgcWSPClient_MQTT › Properties

TsgcWSPClient_MQTT Properties

Published properties grouped by purpose, followed by the full alphabetical list.

Connection

NameDescription
ClientReferences the TsgcWebSocketClient that carries MQTT frames when connecting over WebSockets.
BrokerReferences a TsgcWSMQTTBroker component so the MQTT protocol runs over raw TCP instead of WebSockets.
MQTTVersionSelects the MQTT protocol level advertised in the CONNECT packet (3.1.1 or 5.0).
GuidUnique identifier that binds this subprotocol instance to its WebSocket or broker connection.

Messaging

NameDescription
QoSDefault Quality of Service level and retry/timeout behavior for outbound QoS 1 and QoS 2 messages.
LastWillTestamentRegisters a Will message the broker publishes on behalf of this client if the connection is lost ungracefully.
ConnectPropertiesMQTT 5.0 properties sent with the CONNECT packet: session expiry, receive maximum, packet size, topic aliases and extended authentication.

Reliability

NameDescription
HeartBeatSends MQTT PINGREQ packets periodically to keep the session alive and to detect silent broker drops.

Security

NameDescription
AuthenticationSends a UserName and Password in the MQTT CONNECT packet to authenticate the client against the broker.

Diagnostics

NameDescription
VersionRead-only string with the sgcWebSockets build version of the MQTT subprotocol component.

All Properties (alphabetical)

NameDescription
AuthenticationSends a UserName and Password in the MQTT CONNECT packet to authenticate the client against the broker.
BrokerReferences a TsgcWSMQTTBroker component so the MQTT protocol runs over raw TCP instead of WebSockets.
ClientReferences the TsgcWebSocketClient that carries MQTT frames when connecting over WebSockets.
ConnectPropertiesMQTT 5.0 properties sent with the CONNECT packet: session expiry, receive maximum, packet size, topic aliases and extended authentication.
GuidUnique identifier that binds this subprotocol instance to its WebSocket or broker connection.
HeartBeatSends MQTT PINGREQ packets periodically to keep the session alive and to detect silent broker drops.
LastWillTestamentRegisters a Will message the broker publishes on behalf of this client if the connection is lost ungracefully.
MQTTVersionSelects the MQTT protocol level advertised in the CONNECT packet (3.1.1 or 5.0).
QoSDefault Quality of Service level and retry/timeout behavior for outbound QoS 1 and QoS 2 messages.
VersionRead-only string with the sgcWebSockets build version of the MQTT subprotocol component.