Skip to content
«interface»SolidSyslogSenderStreamSenderCore«interface»SolidSyslogResolver«interface»SolidSyslogStream«interface»SolidSyslogAddress

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.

struct SolidSyslogAddress* SolidSyslogStreamSenderConfig::Address;


Endpoint

Fills host/port; called only on (re)connect.

SolidSyslogEndpointFunction SolidSyslogStreamSenderConfig::Endpoint;

NULL resolves an empty host on port 0.


EndpointContext

Passed to Endpoint and EndpointVersion unchanged.

void* SolidSyslogStreamSenderConfig::EndpointContext;


EndpointVersion

Polled every Send to detect an endpoint change; NULL pins the destination (never reconnects for a change).

SolidSyslogEndpointVersionFunction SolidSyslogStreamSenderConfig::EndpointVersion;


Resolver

struct SolidSyslogResolver* SolidSyslogStreamSenderConfig::Resolver;

Stream

struct SolidSyslogStream* SolidSyslogStreamSenderConfig::Stream;


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