mirror of
https://github.com/eclipse/paho.mqtt.cpp.git
synced 2025-05-09 19:31:22 +08:00
add token::get_message
Signed-off-by: Adam Aposhian <adam.aposhian@fireflyautomatix.com>
This commit is contained in:
parent
2bb54f0e4a
commit
40f29b5c62
@ -420,6 +420,13 @@ public:
|
|||||||
* @return The reason code for the operation.
|
* @return The reason code for the operation.
|
||||||
*/
|
*/
|
||||||
ReasonCode get_reason_code() const { return reasonCode_; }
|
ReasonCode get_reason_code() const { return reasonCode_; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the error message from the C library
|
||||||
|
* @return Error message for the operation
|
||||||
|
*/
|
||||||
|
string get_message() const { return errMsg_; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Blocks the current thread until the action this token is associated
|
* Blocks the current thread until the action this token is associated
|
||||||
* with has completed.
|
* with has completed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user