Skip to content

File SolidSyslogUdpSenderErrors.h

FileList > Core > Interface > SolidSyslogUdpSenderErrors.h

Go to the source code of this file

Error codes and Source identity for the UdpSender.

  • #include "ExternC.h"

Public Types

Type Name
enum SolidSyslogUdpSenderErrors
Detail codes for events whose Source is UdpSenderErrorSource.

Public Attributes

Type Name
const struct SolidSyslogErrorSource UdpSenderErrorSource
The identity for events raised by a UdpSender.

Public Types Documentation

enum SolidSyslogUdpSenderErrors

Detail codes for events whose Source is UdpSenderErrorSource.

enum SolidSyslogUdpSenderErrors {
    UDPSENDER_ERROR_NULL_CONFIG,
    UDPSENDER_ERROR_NULL_RESOLVER,
    UDPSENDER_ERROR_NULL_DATAGRAM,
    UDPSENDER_ERROR_NULL_ADDRESS,
    UDPSENDER_ERROR_NULL_ENDPOINT,
    UDPSENDER_ERROR_SEND_NULL_BUFFER,
    UDPSENDER_ERROR_POOL_EXHAUSTED,
    UDPSENDER_ERROR_UNKNOWN_DESTROY,
    UDPSENDER_ERROR_DELIVERY_FAILED,
    UDPSENDER_ERROR_DELIVERY_RESTORED,
    UDPSENDER_ERROR_MAX
};

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


Public Attributes Documentation

variable 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