2025-05-21 13:53:46 +00:00
|
|
|
# Common API
|
2015-11-12 21:57:00 +00:00
|
|
|
|
2025-05-22 19:24:13 +00:00
|
|
|
This document describes `aMQTT` common API both used by [MQTT Client](client.md) and [Broker](broker.md).
|
2015-11-12 21:57:00 +00:00
|
|
|
|
2025-08-05 15:56:05 +00:00
|
|
|
## ApplicationMessage
|
2015-11-12 21:57:00 +00:00
|
|
|
|
2025-08-05 15:56:05 +00:00
|
|
|
::: amqtt.session.ApplicationMessage
|
|
|
|
options:
|
|
|
|
heading_level: 3
|
2015-11-12 21:57:00 +00:00
|
|
|
|
2025-08-05 15:56:05 +00:00
|
|
|
## IncomingApplicationMessage
|
2015-11-12 21:57:00 +00:00
|
|
|
|
2025-08-05 15:56:05 +00:00
|
|
|
Represents messages received from MQTT clients.
|
2015-11-12 21:57:00 +00:00
|
|
|
|
2025-08-05 15:56:05 +00:00
|
|
|
::: amqtt.session.IncomingApplicationMessage
|
|
|
|
options:
|
|
|
|
heading_level: 3
|
2015-11-12 21:57:00 +00:00
|
|
|
|
2025-05-21 13:53:46 +00:00
|
|
|
|
2025-08-05 15:56:05 +00:00
|
|
|
## OutgoingApplicationMessage
|
2025-05-21 13:53:46 +00:00
|
|
|
|
|
|
|
Inherits from ApplicationMessage. Represents messages to be sent to MQTT clients.
|
2025-08-05 15:56:05 +00:00
|
|
|
|
|
|
|
::: amqtt.session.OutgoingApplicationMessage
|
|
|
|
options:
|
|
|
|
heading_level: 3
|
|
|
|
|