SimpleMQ structure. More...
Data Fields | |
U8 * | buf |
The buffer set via the constructor. More... | |
U32 | timeout |
Timeout in milliseconds to wait in functions waiting for server data. | |
U32 | clientTid |
Client's unique topic ID. | |
U32 | tid |
Topic: set when receiving MSG_PUBLISH from broker. | |
U32 | ptid |
Publisher's tid: Set when receiving MSG_PUBLISH from broker. | |
U32 | subtid |
Sub-tid: set when receiving MSG_PUBLISH from broker. | |
int | status |
Last known error code. | |
U16 | frameLen |
The SimpleMQ frame size for the incomming data. | |
U16 | bytesRead |
Read frame data using SMQ_getMessage until: frameLen - bytesRead = 0. | |
Detailed Description
SimpleMQ structure.
- Examples:
- cloud/simplemq/main.c, and cloud/simplemq/README.txt.
Field Documentation
U8* SMQ::buf |
The buffer set via the constructor.