theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - rb - jv - cc
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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_SendT_END (MqContextC_ARGS)
  Python: ctx.SendT_END() C-API
closed a longterm-transaction-item
 
static OT_ProcRet py_mqmsgque_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

◆ py_mqmsgque_MqContextC_SendL_END()

static OT_ProcRet py_mqmsgque_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 2894 of file MqContextC_py.c.

2894 {
2896 OT_SETUP_NOARG(SendL_END_doc)
2897 OT_CHECK_NOARGS
2898 MkErrorC_Check(hdl,MqSendL_END (hdl));
2899 OT_retObj_SET_None
2900 goto end;
2901 error:
2902 OT_retObj_SET_Error
2903 end:
2905}
#define SendL_END_doc
#define OT_SETUP_hdl
#define OT_retObj_RETURN
#define error

◆ py_mqmsgque_MqContextC_SendL_START()

static OT_ProcRet py_mqmsgque_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 2908 of file MqContextC_py.c.

2908 {
2910 OT_SETUP_NOARG(SendL_START_doc)
2911 OT_CHECK_NOARGS
2912 MkErrorC_Check(hdl,MqSendL_START (hdl));
2913 OT_retObj_SET_None
2914 goto end;
2915 error:
2916 OT_retObj_SET_Error
2917 end:
2919}
#define SendL_START_doc

◆ py_mqmsgque_MqContextC_SendT_END()

static OT_ProcRet py_mqmsgque_MqContextC_SendT_END ( MqContextC_ARGS )
static

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

Definition at line 2922 of file MqContextC_py.c.

2922 {
2924 OT_SETUP_NOARG(SendT_END_doc)
2925 OT_CHECK_NOARGS
2926 MkErrorC_Check(hdl,MqSendT_END (hdl));
2927 OT_retObj_SET_None
2928 goto end;
2929 error:
2930 OT_retObj_SET_Error
2931 end:
2933}
#define SendT_END_doc
#define MqSendT_END(...)

◆ py_mqmsgque_MqContextC_SendT_START()

static OT_ProcRet py_mqmsgque_MqContextC_SendT_START ( MqContextC_ARGS )
static

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

Definition at line 2936 of file MqContextC_py.c.

2936 {
2938 OT_SETUP_NOARG(SendT_START_doc)
2939 OT_CHECK_NOARGS
2940 MkErrorC_Check(hdl,MqSendT_START (hdl));
2941 OT_retObj_SET_None
2942 goto end;
2943 error:
2944 OT_retObj_SET_Error
2945 end:
2947}
#define SendT_START_doc
#define MqSendT_START(...)