File SolidSyslogSenderCategories.h¶
FileList > Core > Interface > SolidSyslogSenderCategories.h
Go to the source code of this file
Portable category constants (uint16_t macros) for the Sender role: SOLIDSYSLOG_CAT_SENDER_DELIVERY_FAILED / _DELIVERY_RESTORED.
#include <stdint.h>#include "SolidSyslogErrorCategory.h"
Macros¶
| Type | Name |
|---|---|
| define | SOLIDSYSLOG_CAT_SENDER_DELIVERY_FAILED ((uint16\_t) ([**SOLIDSYSLOG\_CAT\_SENDER\_BASE**](SolidSyslogErrorCategory_8h.md#define-solidsyslog_cat_sender_base) + 1U))Portable Sender-role error categories, shared by every Sender that can observe whether a send reached the destination (StreamSender, UdpSender). |
| define | SOLIDSYSLOG_CAT_SENDER_DELIVERY_RESTORED ((uint16\_t) ([**SOLIDSYSLOG\_CAT\_SENDER\_BASE**](SolidSyslogErrorCategory_8h.md#define-solidsyslog_cat_sender_base) + 2U))Delivery to the destination recovered after a failure (edge back to healthy). |
Macro Definition Documentation¶
define SOLIDSYSLOG_CAT_SENDER_DELIVERY_FAILED¶
Portable Sender-role error categories, shared by every Sender that can observe whether a send reached the destination (StreamSender, UdpSender).
A portable handler switch on event->Category reacts to a delivery-health transition identically regardless of which sender raised it; event->Source still tells it which transport. Delivery to the destination started failing (edge into the failed state).
define SOLIDSYSLOG_CAT_SENDER_DELIVERY_RESTORED¶
Delivery to the destination recovered after a failure (edge back to healthy).
The documentation for this class was generated from the following file Core/Interface/SolidSyslogSenderCategories.h