File SolidSyslogSender.h¶
FileList > Core > Interface > SolidSyslogSender.h
Go to the source code of this file
The sender role: deliver a framed message (Send) / drop the connection (Disconnect). More...
#include "ExternC.h"#include <stdbool.h>#include <stddef.h>
Public Functions¶
| Type | Name |
|---|---|
| void | SolidSyslogSender_Disconnect (struct SolidSyslogSender * sender) Drop the connection; the next Send reconnects. |
| bool | SolidSyslogSender_Send (struct SolidSyslogSender * sender, const void * buffer, size_t size) Deliver one framed message. |
Detailed Description¶
These calls dispatch to the injected sender's vtable, so behaviour — transport, framing, connect-on-first-use — is that sender's.
Public Functions Documentation¶
function SolidSyslogSender_Disconnect¶
Drop the connection; the next Send reconnects.
Idempotent.
function SolidSyslogSender_Send¶
Deliver one framed message.
Returns true when it is on the wire (the caller may then drop it), false when it should be retried later. May connect on first use, which can block on the transport. buffer is read only during the call.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogSender.h