Skip to content

File SolidSyslogTlsStreamErrors.h

FileList > Interface > SolidSyslogTlsStreamErrors.h

Go to the source code of this file

Error codes and Source identity for the TlsStream adapter.

  • #include "ExternC.h"

Public Types

Type Name
enum SolidSyslogTlsStreamErrors
Detail codes for events whose Source is TlsStreamErrorSource.

Public Attributes

Type Name
const struct SolidSyslogErrorSource TlsStreamErrorSource
Identity for events raised by a TlsStream.

Public Types Documentation

enum SolidSyslogTlsStreamErrors

Detail codes for events whose Source is TlsStreamErrorSource.

enum SolidSyslogTlsStreamErrors {
    TLSSTREAM_ERROR_POOL_EXHAUSTED,
    TLSSTREAM_ERROR_UNKNOWN_DESTROY,
    TLSSTREAM_ERROR_CONTEXT_INIT_FAILED,
    TLSSTREAM_ERROR_SESSION_INIT_FAILED,
    TLSSTREAM_ERROR_SERVER_NAME_NOT_SET,
    TLSSTREAM_ERROR_HANDSHAKE_REJECTED,
    TLSSTREAM_ERROR_HANDSHAKE_TIMEOUT,
    TLSSTREAM_ERROR_MAX
};

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


Public Attributes Documentation

variable TlsStreamErrorSource

Identity for events raised by a TlsStream.

const struct SolidSyslogErrorSource TlsStreamErrorSource;

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



The documentation for this class was generated from the following file Platform/OpenSsl/Interface/SolidSyslogTlsStreamErrors.h