Skip to content

File SolidSyslogStreamSenderErrors.h

FileList > Core > Interface > SolidSyslogStreamSenderErrors.h

Go to the source code of this file

Error codes and Source identity for the StreamSender.

  • #include "ExternC.h"

Public Types

Type Name
enum SolidSyslogStreamSenderErrors
Detail codes for events whose Source is StreamSenderErrorSource.

Public Attributes

Type Name
const struct SolidSyslogErrorSource StreamSenderErrorSource
The identity for events raised by a StreamSender.

Public Types Documentation

enum SolidSyslogStreamSenderErrors

Detail codes for events whose Source is StreamSenderErrorSource.

enum SolidSyslogStreamSenderErrors {
    STREAMSENDER_ERROR_NULL_CONFIG,
    STREAMSENDER_ERROR_NULL_RESOLVER,
    STREAMSENDER_ERROR_NULL_STREAM,
    STREAMSENDER_ERROR_NULL_ADDRESS,
    STREAMSENDER_ERROR_POOL_EXHAUSTED,
    STREAMSENDER_ERROR_UNKNOWN_DESTROY,
    STREAMSENDER_ERROR_DELIVERY_FAILED,
    STREAMSENDER_ERROR_DELIVERY_RESTORED,
    STREAMSENDER_ERROR_MAX
};

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


Public Attributes Documentation

variable 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