theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Block_RB_API

MqContextC - a wrapper to send a list-block or a transaction-blockMore...

+ Collaboration diagram for MqContextC_SendApi_Block_RB_API:

Functions

static OT_ProcRet rbmqmsgque_MqContextC_SendL_END (MqContextC_ARGS)
  Ruby: ctx.SendL_END() C-API
finish to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet rbmqmsgque_MqContextC_SendL_START (MqContextC_ARGS)
  Ruby: ctx.SendL_START() C-API
start to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet rbmqmsgque_MqContextC_SendT_END (MqContextC_ARGS)
  Ruby: ctx.SendT_END() C-API
closed a longterm-transaction-item
 
static OT_ProcRet rbmqmsgque_MqContextC_SendT_START (MqContextC_ARGS)
  Ruby: ctx.SendT_START() C-API
open a longterm-transaction-item
 

Detailed Description

MqContextC - a wrapper to send a list-block or a transaction-block

start to append an embedded body-list-item to the send-data-package. …

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
Example
Create a body-list-item in C
MqSendL_START(send); // start a list-item
MqSendI32(send,myInt); // first list-sub-item
MqSendSTR(send,"myString"); // second list- sub-item
// ... do additional MqSend?
MqSendL_END(send); // finish a list-item
#define MqSendI32(...)
#define MqSendSTR(...)
#define MqSendL_START(...)
#define MqSendL_END(...)

Function Documentation

◆ rbmqmsgque_MqContextC_SendL_END()

static OT_ProcRet rbmqmsgque_MqContextC_SendL_END ( MqContextC_ARGS )
static

Ruby: ctx.SendL_END() C-API
finish to append an embedded body-list-item to the send-data-package. …

Definition at line 2417 of file MqContextC_rb.c.

2417 {
2421 MkErrorC_Check(hdl,MqSendL_END (hdl));
2423 end: MK_UNUSED /* LONG JUMP on error */
2425}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define SendL_END_doc
#define OT_SETUP_hdl
#define MK_UNUSED

◆ rbmqmsgque_MqContextC_SendL_START()

static OT_ProcRet rbmqmsgque_MqContextC_SendL_START ( MqContextC_ARGS )
static

Ruby: ctx.SendL_START() C-API
start to append an embedded body-list-item to the send-data-package. …

Definition at line 2428 of file MqContextC_rb.c.

2428 {
2432 MkErrorC_Check(hdl,MqSendL_START (hdl));
2434 end: MK_UNUSED /* LONG JUMP on error */
2436}
#define SendL_START_doc

◆ rbmqmsgque_MqContextC_SendT_END()

static OT_ProcRet rbmqmsgque_MqContextC_SendT_END ( MqContextC_ARGS )
static

Ruby: ctx.SendT_END() C-API
closed a longterm-transaction-item

Definition at line 2439 of file MqContextC_rb.c.

2439 {
2443 MkErrorC_Check(hdl,MqSendT_END (hdl));
2445 end: MK_UNUSED /* LONG JUMP on error */
2447}
#define SendT_END_doc
#define MqSendT_END(...)

◆ rbmqmsgque_MqContextC_SendT_START()

static OT_ProcRet rbmqmsgque_MqContextC_SendT_START ( MqContextC_ARGS )
static

Ruby: ctx.SendT_START() C-API
open a longterm-transaction-item

Definition at line 2450 of file MqContextC_rb.c.

2450 {
2454 MkErrorC_Check(hdl,MqSendT_START (hdl));
2456 end: MK_UNUSED /* LONG JUMP on error */
2458}
#define SendT_START_doc
#define MqSendT_START(...)