LoboMQ
Loading...
Searching...
No Matches
PublishContent Struct Reference

Structure that contains the fields used by a publish message, apart from those inherited from the MessageBase. More...

#include <PubSub.h>

Inheritance diagram for PublishContent:
MessageBase

Public Attributes

char topic [MAXTOPICLENGTH]
 Topic where the message is published to.
 
size_t contentSize
 Size of the content.
 
void * content [MAXCONTENTSIZE]
 Any content stored as bytes.
 
- Public Attributes inherited from MessageBase
MessageType type
 

Detailed Description

Structure that contains the fields used by a publish message, apart from those inherited from the MessageBase.

Definition at line 65 of file PubSub.h.

Member Data Documentation

◆ content

void* PublishContent::content[MAXCONTENTSIZE]

Any content stored as bytes.

Definition at line 68 of file PubSub.h.

◆ contentSize

size_t PublishContent::contentSize

Size of the content.

Definition at line 67 of file PubSub.h.

◆ topic

char PublishContent::topic[MAXTOPICLENGTH]

Topic where the message is published to.

Definition at line 66 of file PubSub.h.


The documentation for this struct was generated from the following file: