theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Block_PY_API

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

+ Collaboration diagram for MqContextC_SendApi_Block_PY_API:

Functions

static OT_ProcRet pymqmsgque_MqContextC_SendL_END (MqContextC_ARGS)
  Python: ctx.SendL_END() C-API
finish to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendL_START (MqContextC_ARGS)
  Python: ctx.SendL_START() C-API
start to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendT_END (MqContextC_ARGS)
  Python: ctx.SendT_END() C-API
closed a longterm-transaction-item
 
static OT_ProcRet pymqmsgque_MqContextC_SendT_START (MqContextC_ARGS)
  Python: 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

◆ pymqmsgque_MqContextC_SendL_END()

static OT_ProcRet pymqmsgque_MqContextC_SendL_END ( MqContextC_ARGS )
static

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

Definition at line 2896 of file MqContextC_py.c.

2896 {
2900 MkErrorC_Check(hdl,MqSendL_END (hdl));
2902 goto end;
2903 error:
2905 end:
2907}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#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 error
Definition high_lng.h:339

◆ pymqmsgque_MqContextC_SendL_START()

static OT_ProcRet pymqmsgque_MqContextC_SendL_START ( MqContextC_ARGS )
static

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

Definition at line 2910 of file MqContextC_py.c.

2910 {
2914 MkErrorC_Check(hdl,MqSendL_START (hdl));
2916 goto end;
2917 error:
2919 end:
2921}
#define SendL_START_doc

◆ pymqmsgque_MqContextC_SendT_END()

static OT_ProcRet pymqmsgque_MqContextC_SendT_END ( MqContextC_ARGS )
static

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

Definition at line 2924 of file MqContextC_py.c.

2924 {
2928 MkErrorC_Check(hdl,MqSendT_END (hdl));
2930 goto end;
2931 error:
2933 end:
2935}
#define SendT_END_doc
#define MqSendT_END(...)

◆ pymqmsgque_MqContextC_SendT_START()

static OT_ProcRet pymqmsgque_MqContextC_SendT_START ( MqContextC_ARGS )
static

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

Definition at line 2938 of file MqContextC_py.c.

2938 {
2942 MkErrorC_Check(hdl,MqSendT_START (hdl));
2944 goto end;
2945 error:
2947 end:
2949}
#define SendT_START_doc
#define MqSendT_START(...)