Skip to content

File SolidSyslogUdpSenderErrors.h

FileList > Core > Interface > SolidSyslogUdpSenderErrors.h

Error codes and Source identity for the UdpSender.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogUdpSenderErrors

Detail codes for events whose Source is UdpSenderErrorSource.

enum SolidSyslogUdpSenderErrors {
    SOLIDSYSLOG_UDP_SENDER_ERROR_NULL_CONFIG,
    SOLIDSYSLOG_UDP_SENDER_ERROR_NULL_RESOLVER,
    SOLIDSYSLOG_UDP_SENDER_ERROR_NULL_DATAGRAM,
    SOLIDSYSLOG_UDP_SENDER_ERROR_NULL_ADDRESS,
    SOLIDSYSLOG_UDP_SENDER_ERROR_NULL_ENDPOINT,
    SOLIDSYSLOG_UDP_SENDER_ERROR_SEND_NULL_BUFFER,
    SOLIDSYSLOG_UDP_SENDER_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_UDP_SENDER_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_UDP_SENDER_ERROR_DELIVERY_FAILED,
    SOLIDSYSLOG_UDP_SENDER_ERROR_DELIVERY_RESTORED,
    SOLIDSYSLOG_UDP_SENDER_ERROR_MAX
};

A handler reads these off event->Detail after matching event->Source; the members name their own fault.


Public Attributes Documentation

UdpSenderErrorSource

The identity for events raised by a UdpSender.

const struct SolidSyslogErrorSource UdpSenderErrorSource;

A handler matches by address (event->Source == &UdpSenderErrorSource), then reads event->Detail as an enum SolidSyslogUdpSenderErrors.



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