Class Reference
IRIS for UNIX 2024.1.2
|
|
Private
Storage
|
![]() |
![]() |
Subclasses | |
---|---|
EnsLib.MQTT.Adapter.Inbound | EnsLib.MQTT.Adapter.Outbound |
![]() |
Domain for $$$Text()
Configurable settings
![]() |
This determines if the session to the broker will use a clean session.
This is the string which identifies this client to the broker. It must be ascii encoded.For compatibility the recommended length of this identifier is 23 characters or less but note that certain server implementations permit more.
If not specified the client will create a unique id in the form '73BDD334-83D4-11EA-8229'.
This is the connect timeout. Connecting to a busy server may take some time and this timeout can be used to avoid a premature connection failure.
This is the ID name of the set of credentials values to be used to access the MQTT broker. The Username and password defined in your Credentials item must be ascii encoded. Not required if the broker is insecured.
The client will send keepalive messages to the broker according to the specified interval.
This is the LWT (Last Will And Testament) message. If specified must be ascii encoded.
This the LWT (Last Will And Testament) Topic. If specified must be ascii encoded. If the client disconnects due to an network error, the LWTMessage will be delivered to subscribers to the LWTTopic.
This determines the quality of service required, $$$QOSWaitForDelivery or $$$QOSFireAndForget
This is the flag that indicates to the broker whether the message should be retained by the broker
This is the ID name of the SSL configuration that you wish to be used to communicate with the broker. Only used if in fact SSL communication is required.
This is the internal status of the adapter
This is the timeout expressed in seconds to wait to send (with ack ) or receive a message
This is the topic name of the topic to which you wish to publish or subscribe. The topic must be ascii encoded
This enables or disables the MQTT tracing facility
This is the trace level for the MQTT library. Set this to log the required detail of trace information See %Net.MQTT.inc for legal values
This is the url of the broker to which you wish to communicate. The scheme is either 'tcp' or 'ssl' followed by thedomain name and port delimited by a ':', for example, 'tcp://BIGBADAPPLE.local:1883'. Typically ssl enabled end points
are configured with a port of 8883 but this is not mandatory. The url must be ascii encoded.
![]() |
Simply log the value
This user callback method is called just after %OnNew()
Setter override for status value