Struct SolidSyslogStreamSenderConfig¶
ClassList > SolidSyslogStreamSenderConfig
#include <SolidSyslogStreamSender.h>
struct SolidSyslogStreamSenderConfig
{
struct SolidSyslogResolver* Resolver;
struct SolidSyslogStream* Stream;
struct SolidSyslogAddress* Address;
SolidSyslogEndpointFunction Endpoint;
SolidSyslogEndpointVersionFunction EndpointVersion;
void* EndpointContext;
};
Detailed Description¶
Wiring for SolidSyslogStreamSender_Create, a sender that octet-frames each message (RFC 6587) over any injected Stream (plain TCP, TLS, or a caller-supplied byte transport).
Resolver, Stream, and Address are required (NULL makes Create fall back to the shared NullSender); the rest is optional. Everything you inject must outlive the created handle, but the config struct itself is copied at Create and may be transient.
Public Attributes Documentation¶
Address¶
Destination slot the Resolver writes and the Stream opens against; one per sender.
Endpoint¶
Fills host/port; called only on (re)connect.
NULL resolves an empty host on port 0.
EndpointContext¶
Passed to Endpoint and EndpointVersion unchanged.
EndpointVersion¶
Polled every Send to detect an endpoint change; NULL pins the destination (never reconnects for a change).
Resolver¶
Stream¶
The documentation for this class was generated from the following file Core/Interface/SolidSyslogStreamSender.h