Skip to content

File SolidSyslogStreamSenderErrors.h

FileList > Core > Interface > SolidSyslogStreamSenderErrors.h

Error codes and Source identity for the StreamSender.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogStreamSenderErrors

Detail codes for events whose Source is StreamSenderErrorSource.

enum SolidSyslogStreamSenderErrors {
    SOLIDSYSLOG_STREAM_SENDER_ERROR_NULL_CONFIG,
    SOLIDSYSLOG_STREAM_SENDER_ERROR_NULL_RESOLVER,
    SOLIDSYSLOG_STREAM_SENDER_ERROR_NULL_STREAM,
    SOLIDSYSLOG_STREAM_SENDER_ERROR_NULL_ADDRESS,
    SOLIDSYSLOG_STREAM_SENDER_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_STREAM_SENDER_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_STREAM_SENDER_ERROR_DELIVERY_FAILED,
    SOLIDSYSLOG_STREAM_SENDER_ERROR_DELIVERY_RESTORED,
    SOLIDSYSLOG_STREAM_SENDER_ERROR_MAX
};

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


Public Attributes Documentation

StreamSenderErrorSource

The identity for events raised by a StreamSender.

const struct SolidSyslogErrorSource StreamSenderErrorSource;

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



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