Skip to content
«interface»SolidSyslogSenderSwitchingSenderCore«interface»SolidSyslogSender1..*

Struct SolidSyslogSwitchingSenderConfig

ClassList > SolidSyslogSwitchingSenderConfig

  • #include <SolidSyslogSwitchingSender.h>
struct SolidSyslogSwitchingSenderConfig
{
    struct SolidSyslogSender** Senders;
    size_t SenderCount;
    SolidSyslogSwitchingSenderSelector Selector;
    void* SelectorContext;
};

Detailed Description

Wiring for SolidSyslogSwitchingSender_Create, a sender that fronts several inner senders and picks one per message via Selector (dual-SIEM, failover).

Senders and Selector are required (NULL makes Create fall back to the shared NullSender). The Senders array and the inner senders it points to must outlive the created handle, but the config struct itself is copied at Create and may be transient. Switching away from a sender disconnects it.

Public Attributes Documentation

Selector

SolidSyslogSwitchingSenderSelector SolidSyslogSwitchingSenderConfig::Selector;

SelectorContext

Passed to Selector unchanged.

void* SolidSyslogSwitchingSenderConfig::SelectorContext;


SenderCount

Length of Senders; also the exclusive upper bound the Selector's index is checked against.

size_t SolidSyslogSwitchingSenderConfig::SenderCount;


Senders

struct SolidSyslogSender** SolidSyslogSwitchingSenderConfig::Senders;


The documentation for this class was generated from the following file Core/Interface/SolidSyslogSwitchingSender.h