PIP 5.7.0_beta
Platform-Independent Primitives
Public Member Functions | List of all members
PIMQTT::MessageMutable Class Reference

Mutable MQTT message. More...

#include <pimqtttypes.h>

Inheritance diagram for PIMQTT::MessageMutable:
Inheritance graph
[legend]

Public Member Functions

MessageMutablesetTopic (PIString t)
 Sets the topic.
 
MessageMutablesetBody (PIByteArray b)
 Sets the message body.
 
MessageMutablesetPayload (PIByteArray b)
 Sets the message body.
 
const PIMap< PIString, PIString > & pathArguments () const
 Returns path arguments.
 
PIMap< PIString, PIString > & pathArguments ()
 Returns a modifiable map of path arguments.
 
const PIMap< int, PIString > & properties () const
 Returns map of properties.
 
PIMap< int, PIString > & properties ()
 Returns a modifiable map of properties.
 
MessageMutablesetDuplicate (bool yes)
 Returns true for .
 
MessageMutablesetQos (QoS qos)
 Returns QoS.
 
MessageMutablesetID (int id)
 Returns message ID.
 
- Public Member Functions inherited from PIMQTT::MessageConst
bool isValid () const
 Returns if the topic is not empty.
 
const PIStringtopic () const
 Returns the topic.
 
PIStringList topicList () const
 Returns the topic split into non-empty components.
 
const PIByteArraybody () const
 Returns the message body.
 
const PIByteArraypayload () 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

Mutable MQTT message.