theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Block_TCL_API

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

+ Collaboration diagram for MqContextC_SendApi_Block_TCL_API:

Functions

static OT_ProcRet tclmqmsgque_MqContextC_SendL_END (MqContextC_ARGS)
  Tcl: $ctx SendL_END C-API
finish to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendL_START (MqContextC_ARGS)
  Tcl: $ctx SendL_START C-API
start to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendT_END (MqContextC_ARGS)
  Tcl: $ctx SendT_END C-API
closed a longterm-transaction-item
 
static OT_ProcRet tclmqmsgque_MqContextC_SendT_START (MqContextC_ARGS)
  Tcl: $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

◆ tclmqmsgque_MqContextC_SendL_END()

static OT_ProcRet tclmqmsgque_MqContextC_SendL_END ( MqContextC_ARGS )
static

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

Definition at line 2949 of file MqContextC_tcl.c.

2949 {
2953 MkErrorC_Check(hdl,MqSendL_END (hdl));
2955 goto end;
2956 error:
2958 end:
2960}
#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

◆ tclmqmsgque_MqContextC_SendL_START()

static OT_ProcRet tclmqmsgque_MqContextC_SendL_START ( MqContextC_ARGS )
static

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

Definition at line 2963 of file MqContextC_tcl.c.

2963 {
2967 MkErrorC_Check(hdl,MqSendL_START (hdl));
2969 goto end;
2970 error:
2972 end:
2974}
#define SendL_START_doc

◆ tclmqmsgque_MqContextC_SendT_END()

static OT_ProcRet tclmqmsgque_MqContextC_SendT_END ( MqContextC_ARGS )
static

Tcl: $ctx SendT_END C-API
closed a longterm-transaction-item

Definition at line 2977 of file MqContextC_tcl.c.

2977 {
2981 MkErrorC_Check(hdl,MqSendT_END (hdl));
2983 goto end;
2984 error:
2986 end:
2988}
#define SendT_END_doc
#define MqSendT_END(...)

◆ tclmqmsgque_MqContextC_SendT_START()

static OT_ProcRet tclmqmsgque_MqContextC_SendT_START ( MqContextC_ARGS )
static

Tcl: $ctx SendT_START C-API
open a longterm-transaction-item

Definition at line 2991 of file MqContextC_tcl.c.

2991 {
2995 MkErrorC_Check(hdl,MqSendT_START (hdl));
2997 goto end;
2998 error:
3000 end:
3002}
#define SendT_START_doc
#define MqSendT_START(...)