|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
#include <broker_api.h>
Data Fields | |
| JUNO_STATUS_T(* | Publish )(JUNO_SB_BROKER_ROOT_T *ptBroker, JUNO_SB_MID_T tMid, JUNO_POINTER_T tMsg) |
| Publish a message to all subscribers of tMid. | |
| JUNO_STATUS_T(* | RegisterSubscriber )(JUNO_SB_BROKER_ROOT_T *ptBroker, JUNO_SB_PIPE_T *ptPipe) |
| Register a subscriber pipe with the broker. | |
| JUNO_STATUS_T(* JUNO_SB_BROKER_API_TAG::Publish) (JUNO_SB_BROKER_ROOT_T *ptBroker, JUNO_SB_MID_T tMid, JUNO_POINTER_T tMsg) |
Publish a message to all subscribers of tMid.
| ptBroker | Broker instance. |
| tMid | Message ID / topic. |
| tMsg | Message handle (copied/enqueued per pointer trait). |
| JUNO_STATUS_T(* JUNO_SB_BROKER_API_TAG::RegisterSubscriber) (JUNO_SB_BROKER_ROOT_T *ptBroker, JUNO_SB_PIPE_T *ptPipe) |
Register a subscriber pipe with the broker.