File SolidSyslogStreamCategories.h¶
FileList > Core > Interface > SolidSyslogStreamCategories.h
Portable category constants (uint16_t macros) for the Stream role: SOLIDSYSLOG_CAT_STREAM_CONNECT_FAILED and SOLIDSYSLOG_CAT_STREAM_OPTION_REFUSED.
#include <stdint.h>#include "SolidSyslogErrorCategory.h"
Macro Definition Documentation¶
SOLIDSYSLOG_CAT_STREAM_CONNECT_FAILED¶
Portable Stream-role error categories.
Any Stream implementation reuses these; a portable handler switch on event->Category works identically across every stream backend. The stream could not establish its connection to the destination. Raised once per attempt, so a destination that stays down produces one event per Service pass; the edge-triggered summary of an outage is the Sender's SOLIDSYSLOG_CAT_SENDER_DELIVERY_FAILED, not this. event->Detail names which step failed.
SOLIDSYSLOG_CAT_STREAM_OPTION_REFUSED¶
The connection stands, but the stack declined a socket option the stream asked for, so the connection is less robust than intended - a keepalive that will not detect a dead peer, or a latency setting that did not take.
Raised once per connection attempt however many options were declined: the engineer's next step is the same whichever one it was, and repeating it per option would say nothing more.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogStreamCategories.h