File SolidSyslogPosixMessageQueueBufferErrors.h¶
FileList > Interface > SolidSyslogPosixMessageQueueBufferErrors.h
Error codes and Source identity for the PosixMessageQueueBuffer adapter.
#include "SolidSyslogExternC.h"
Public Types Documentation¶
SolidSyslogPosixMessageQueueBufferErrors¶
Detail codes for events whose Source is PosixMessageQueueBufferErrorSource.
enum SolidSyslogPosixMessageQueueBufferErrors {
SOLIDSYSLOG_POSIX_MESSAGE_QUEUE_BUFFER_ERROR_POOL_EXHAUSTED,
SOLIDSYSLOG_POSIX_MESSAGE_QUEUE_BUFFER_ERROR_UNKNOWN_DESTROY,
SOLIDSYSLOG_POSIX_MESSAGE_QUEUE_BUFFER_ERROR_MQ_OPEN_FAILED,
SOLIDSYSLOG_POSIX_MESSAGE_QUEUE_BUFFER_ERROR_SEND_FAILED,
SOLIDSYSLOG_POSIX_MESSAGE_QUEUE_BUFFER_ERROR_RECEIVE_FAILED,
SOLIDSYSLOG_POSIX_MESSAGE_QUEUE_BUFFER_ERROR_MAX
};
A handler reads these off event->Detail after matching event->Source; the members name their own fault (MQ_OPEN at Create, SEND on enqueue, RECEIVE on drain).
Public Attributes Documentation¶
PosixMessageQueueBufferErrorSource¶
Identity for events raised by a PosixMessageQueueBuffer.
A handler matches by address (event->Source == &PosixMessageQueueBufferErrorSource), then reads event->Detail as an enum SolidSyslogPosixMessageQueueBufferErrors.
The documentation for this class was generated from the following file Platform/Posix/Interface/SolidSyslogPosixMessageQueueBufferErrors.h