Skip to content
«interface»SolidSyslogSenderUdpSenderCore«interface»SolidSyslogResolver«interface»SolidSyslogDatagram«interface»SolidSyslogAddress

Struct SolidSyslogUdpSenderConfig

ClassList > SolidSyslogUdpSenderConfig

  • #include <SolidSyslogUdpSender.h>
struct SolidSyslogUdpSenderConfig
{
    struct SolidSyslogResolver* Resolver;
    struct SolidSyslogDatagram* Datagram;
    struct SolidSyslogAddress* Address;
    SolidSyslogEndpointFunction Endpoint;
    SolidSyslogEndpointVersionFunction EndpointVersion;
    void* EndpointContext;
};

Detailed Description

Wiring for SolidSyslogUdpSender_Create, a sender that resolves a host and transmits each framed message as one datagram.

Resolver, Datagram, Address, and Endpoint 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 Datagram sends to; one per sender.

struct SolidSyslogAddress* SolidSyslogUdpSenderConfig::Address;


Datagram

struct SolidSyslogDatagram* SolidSyslogUdpSenderConfig::Datagram;

Endpoint

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

SolidSyslogEndpointFunction SolidSyslogUdpSenderConfig::Endpoint;


EndpointContext

Passed to Endpoint and EndpointVersion unchanged.

void* SolidSyslogUdpSenderConfig::EndpointContext;


EndpointVersion

Polled every Send to detect an endpoint change; NULL pins the destination (never re-resolves).

SolidSyslogEndpointVersionFunction SolidSyslogUdpSenderConfig::EndpointVersion;


Resolver

struct SolidSyslogResolver* SolidSyslogUdpSenderConfig::Resolver;


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