theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Block_ATL_API

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

+ Collaboration diagram for MqContextC_SendApi_Block_ATL_API:

Functions

static OT_ProcRet atlmqmsgque_MqContextC_SendL_END (MqContextC_ARGS)
  Atl: MqContextC::SendL_END $ctx C-API
finish to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet atlmqmsgque_MqContextC_SendL_START (MqContextC_ARGS)
  Atl: MqContextC::SendL_START $ctx C-API
start to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet atlmqmsgque_MqContextC_SendT_END (MqContextC_ARGS)
  Atl: MqContextC::SendT_END $ctx C-API
closed a longterm-transaction-item
 
static OT_ProcRet atlmqmsgque_MqContextC_SendT_START (MqContextC_ARGS)
  Atl: MqContextC::SendT_START $ctx 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

◆ atlmqmsgque_MqContextC_SendL_END()

static OT_ProcRet atlmqmsgque_MqContextC_SendL_END ( MqContextC_ARGS )
static

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

Definition at line 2927 of file MqContextC_atl.c.

2927 {
2931 MkErrorC_Check(hdl,MqSendL_END (hdl));
2933 goto end;
2934 error:
2936 end:
2938}
#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

◆ atlmqmsgque_MqContextC_SendL_START()

static OT_ProcRet atlmqmsgque_MqContextC_SendL_START ( MqContextC_ARGS )
static

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

Definition at line 2941 of file MqContextC_atl.c.

2941 {
2945 MkErrorC_Check(hdl,MqSendL_START (hdl));
2947 goto end;
2948 error:
2950 end:
2952}
#define SendL_START_doc

◆ atlmqmsgque_MqContextC_SendT_END()

static OT_ProcRet atlmqmsgque_MqContextC_SendT_END ( MqContextC_ARGS )
static

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

Definition at line 2955 of file MqContextC_atl.c.

2955 {
2959 MkErrorC_Check(hdl,MqSendT_END (hdl));
2961 goto end;
2962 error:
2964 end:
2966}
#define SendT_END_doc
#define MqSendT_END(...)

◆ atlmqmsgque_MqContextC_SendT_START()

static OT_ProcRet atlmqmsgque_MqContextC_SendT_START ( MqContextC_ARGS )
static

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

Definition at line 2969 of file MqContextC_atl.c.

2969 {
2973 MkErrorC_Check(hdl,MqSendT_START (hdl));
2975 goto end;
2976 error:
2978 end:
2980}
#define SendT_START_doc
#define MqSendT_START(...)