LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
JUNO_SB_BROKER_API_TAG Struct Reference

#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.
 

Field Documentation

◆ Publish

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.

Parameters
ptBrokerBroker instance.
tMidMessage ID / topic.
tMsgMessage handle (copied/enqueued per pointer trait).

◆ RegisterSubscriber

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.


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