PIP 6.1.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
PIMQTT::MessageConst Class Reference

Immutable MQTT message. More...

#include <pimqtttypes.h>

Inheritance diagram for PIMQTT::MessageConst:

Public Member Functions

bool isValid () const
 Returns if the topic is not empty.
const PIString & topic () const
 Returns the topic.
PIStringList topicList () const
 Returns the topic split into non-empty components.
const PIByteArray & body () const
 Returns the message body.
const PIByteArray & payload () const
 Returns the message body.
const PIMap< PIString, PIString > & pathArguments () const
 Returns extracted path arguments.
const PIMap< int, PIString > & properties () const
 Returns map of properties.
bool isDuplicate () const
 Returns true for .
QoS qos () const
 Returns QoS.
int ID () const
 Returns message ID.

Detailed Description

Immutable MQTT message.