theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Block_CC_API

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

+ Collaboration diagram for MqContextC_SendApi_Block_CC_API:

Functions

void ccmqmsgque::MqContextC::SendL_END ()
  C++: ctx.SendL_END() C-API
finish to append an embedded body-list-item to the send-data-package. …
 
void ccmqmsgque::MqContextC::SendL_START ()
  C++: ctx.SendL_START() C-API
start to append an embedded body-list-item to the send-data-package. …
 
void ccmqmsgque::MqContextC::SendT_END ()
  C++: ctx.SendT_END() C-API
closed a longterm-transaction-item
 
void ccmqmsgque::MqContextC::SendT_START ()
  C++: 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(...)

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

Function Documentation

◆ SendL_END()

void ccmqmsgque::MqContextC::SendL_END ( )
inline

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

Definition at line 1830 of file MqContextC_inline_cc.hh.

1830 {
1831 MK_UNUSED auto ctx = getCTX();
1832 enum MkErrorE errVal = MqSendL_END(ctx);
1833 MkErrorC_Check(ctx, errVal);
1834 }
#define MK_UNUSED
MQ_CTX getCTX() const
return the LibMsgqueObject from current MqContextC instance

◆ SendL_START()

void ccmqmsgque::MqContextC::SendL_START ( )
inline

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

Definition at line 1837 of file MqContextC_inline_cc.hh.

1837 {
1838 MK_UNUSED auto ctx = getCTX();
1839 enum MkErrorE errVal = MqSendL_START(ctx);
1840 MkErrorC_Check(ctx, errVal);
1841 }

◆ SendT_END()

void ccmqmsgque::MqContextC::SendT_END ( )
inline

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

Definition at line 1844 of file MqContextC_inline_cc.hh.

1844 {
1845 MK_UNUSED auto ctx = getCTX();
1846 enum MkErrorE errVal = MqSendT_END(ctx);
1847 MkErrorC_Check(ctx, errVal);
1848 }
#define MqSendT_END(...)

◆ SendT_START()

void ccmqmsgque::MqContextC::SendT_START ( )
inline

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

Definition at line 1851 of file MqContextC_inline_cc.hh.

1851 {
1852 MK_UNUSED auto ctx = getCTX();
1853 enum MkErrorE errVal = MqSendT_START(ctx);
1854 MkErrorC_Check(ctx, errVal);
1855 }
#define MqSendT_START(...)