File SolidSyslogSenderCategories.h¶
FileList > Core > Interface > SolidSyslogSenderCategories.h
Portable category constants (uint16_t macros) for the Sender role: SOLIDSYSLOG_CAT_SENDER_DELIVERY_FAILED / _DELIVERY_RESTORED, and SOLIDSYSLOG_CAT_SENDER_RECORDS_LOST for a record a sender discards.
#include <stdint.h>#include "SolidSyslogErrorCategory.h"
Macro Definition Documentation¶
SOLIDSYSLOG_CAT_SENDER_DELIVERY_FAILED¶
Portable Sender-role error categories.
The delivery-health pair is 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, or to a sender's lost records, identically regardless of which sender raised it; event->Source still tells it which sender. Delivery to the destination started failing (edge into the failed state).
SOLIDSYSLOG_CAT_SENDER_DELIVERY_RESTORED¶
Delivery to the destination recovered after a failure (edge back to healthy).
SOLIDSYSLOG_CAT_SENDER_RECORDS_LOST¶
The sender discarded a record it could not deliver and told Service it was sent, so the record is gone rather than retried.
event->Source names the sender and event->Detail why. Raised once per run of losses; the sender's detail code says what ends the run.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogSenderCategories.h