File SolidSyslogPosixMessageQueueBufferErrors.h¶
FileList > Interface > SolidSyslogPosixMessageQueueBufferErrors.h
Go to the source code of this file
Error codes and Source identity for the PosixMessageQueueBuffer adapter.
#include "ExternC.h"
Public Types¶
| Type | Name |
|---|---|
| enum | SolidSyslogPosixMessageQueueBufferErrors Detail codes for events whose Source is PosixMessageQueueBufferErrorSource. |
Public Attributes¶
| Type | Name |
|---|---|
| const struct SolidSyslogErrorSource | PosixMessageQueueBufferErrorSource Identity for events raised by a PosixMessageQueueBuffer. |
Public Types Documentation¶
enum SolidSyslogPosixMessageQueueBufferErrors¶
Detail codes for events whose Source is PosixMessageQueueBufferErrorSource.
enum SolidSyslogPosixMessageQueueBufferErrors {
POSIXMESSAGEQUEUEBUFFER_ERROR_POOL_EXHAUSTED,
POSIXMESSAGEQUEUEBUFFER_ERROR_UNKNOWN_DESTROY,
POSIXMESSAGEQUEUEBUFFER_ERROR_MQ_OPEN_FAILED,
POSIXMESSAGEQUEUEBUFFER_ERROR_SEND_FAILED,
POSIXMESSAGEQUEUEBUFFER_ERROR_RECEIVE_FAILED,
POSIXMESSAGEQUEUEBUFFER_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¶
variable 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