theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Return_CC_API

MqContextC - finish the send-data-block on the server and optional return the results. … More...

+ Collaboration diagram for MqContextC_SendApi_Return_CC_API:

Functions

void ccmqmsgque::MqContextC::SendERROR ()
  C++: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
void ccmqmsgque::MqContextC::SendRETURN ()
  C++: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
void ccmqmsgque::MqContextC::SendRETURN_SUB ()
  C++: ctx.SendRETURN_SUB() C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB
 

Detailed Description

MqContextC - finish the send-data-block on the server and optional return the results. …

Every service-handler have to use this function at the end to return the results or the error. If an error is returned the local MkErrorC is reset. The following behaviour is used:

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)

Every service-handler have to use this function at the end to return the results or the error. If an error is returned the local MkErrorC is reset. The following behaviour is used:

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)

Function Documentation

◆ SendERROR()

void ccmqmsgque::MqContextC::SendERROR ( )
inline

C++: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …

Definition at line 1867 of file MqContextC_inline_cc.hh.

1867 {
1868 MK_UNUSED auto ctx = getCTX();
1869 enum MkErrorE errVal = MqSendERROR(ctx);
1870 MkErrorC_Check(ctx, errVal);
1871 }
#define MK_UNUSED
MQ_CTX getCTX() const
return the LibMsgqueObject from current MqContextC instance
#define MqSendERROR(...)

◆ SendRETURN()

void ccmqmsgque::MqContextC::SendRETURN ( )
inline

C++: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …

Definition at line 1874 of file MqContextC_inline_cc.hh.

1874 {
1875 MK_UNUSED auto ctx = getCTX();
1876 enum MkErrorE errVal = MqSendRETURN(ctx);
1877 MkErrorC_Check(ctx, errVal);
1878 }
#define MqSendRETURN(...)
+ Here is the caller graph for this function:

◆ SendRETURN_SUB()

void ccmqmsgque::MqContextC::SendRETURN_SUB ( )
inline

C++: ctx.SendRETURN_SUB() C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB

Definition at line 1881 of file MqContextC_inline_cc.hh.

1881 {
1882 MK_UNUSED auto ctx = getCTX();
1883 enum MkErrorE errVal = MqSendRETURN_SUB(ctx);
1884 MkErrorC_Check(ctx, errVal);
1885 }
#define MqSendRETURN_SUB(...)